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