修改查询条件

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>
<if test="params.startTime != null and params.startTime != ''"> <if test="params.startTime != null and params.startTime != ''">
AND DATE(cr.check_time) <![CDATA[>=]]> #{params.startTime}
AND DATE(cr.check_time) <![CDATA[>=]]> #{params.startDate}
</if> </if>
<if test="params.endTime != null and params.endTime != ''"> <if test="params.endTime != null and params.endTime != ''">
AND DATE(cr.check_time) <![CDATA[<=]]> #{params.endTime}
AND DATE(cr.check_time) <![CDATA[<=]]> #{params.endDate}
</if> </if>
group by cr.fire_record_id group by cr.fire_record_id