浏览代码

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

张延森 5 年前
父节点
当前提交
da89d4b67a
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      src/main/resources/mapper/TaPersonMapper.xml

+ 2
- 1
src/main/resources/mapper/TaPersonMapper.xml 查看文件

@@ -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">