修改查询条件

main
zhaokai 2026-02-05 11:38:32 +08:00
parent 31c8b48d10
commit 551597615b
1 changed files with 2 additions and 4 deletions

View File

@ -27,12 +27,10 @@
</if>
<if test="params.startTime != null and params.startTime != ''">
AND DATE(cr.check_time) <![CDATA[>=]]> #{params.startDate}
AND DATE(cr.check_time) <![CDATA[>=]]> #{params.startTime}
</if>
<if test="params.endTime != null and params.endTime != ''">
AND DATE(cr.check_time) <![CDATA[<=]]> #{params.endDate}
AND DATE(cr.check_time) <![CDATA[<=]]> #{params.endTime}
</if>
group by cr.fire_record_id