消费统计时间来源调整
This commit is contained in:
+2
-2
@@ -243,7 +243,7 @@
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="startDate != '' and startDate != null ">
|
||||
and eat_day between #{startDate} and #{endDate}
|
||||
and DATE_FORMAT(create_time,'%Y-%m-%d') between #{startDate} and #{endDate}
|
||||
</if>
|
||||
) AS totalNum
|
||||
FROM
|
||||
@@ -259,7 +259,7 @@
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="startDate != '' and startDate != null ">
|
||||
and oi.eat_day between #{startDate} and #{endDate}
|
||||
and DATE_FORMAT(oi.create_time,'%Y-%m-%d') between #{startDate} and #{endDate}
|
||||
</if>
|
||||
GROUP BY
|
||||
oi.canteen_id,
|
||||
|
||||
Reference in New Issue
Block a user