Bläddra i källkod

Merge branch 'master' of http://git.ycjcjy.com/zhiyuxing/estateagents

张延森 5 år sedan
förälder
incheckning
da89d4b67a
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2
    1
      src/main/resources/mapper/TaPersonMapper.xml

+ 2
- 1
src/main/resources/mapper/TaPersonMapper.xml Visa fil

@@ -187,6 +187,7 @@ FROM
187 187
             <if test="startDate != null or endDate != null">
188 188
                 a.rownum <![CDATA[ <= ]]> datediff(#{endDate}, #{startDate})
189 189
             </if>
190
+
190 191
         ) AS temp_date
191 192
 
192 193
         LEFT JOIN (
@@ -213,7 +214,7 @@ FROM
213 214
 
214 215
             GROUP BY  tpvr.event_type, DATE_FORMAT( tpvr.visit_time , '%Y-%m-%d' )
215 216
         ) AS temp ON temp_date.date = temp.date and temp_date.type_id = temp.event_type
216
-        order by temp.date asc
217
+        order by temp_date.date asc
217 218
     </select>
218 219
 
219 220
     <select id="selectActiveUserCount" resultType="map">