bug修复

This commit is contained in:
guoshengxiong 2025-08-27 18:16:03 +08:00
parent afdea2e5bb
commit 1bead9cf22

View File

@ -89,7 +89,8 @@
AND a.create_time >= #{param.startTime}
</if>
<if test="param.endTime != null and param.endTime != ''">
and a.create_time &lt;= #{param.endTime}
and a.create_time <![CDATA[<=]]> if(LENGTH(#{param.endTime}) = 10, CONCAT(DATE_FORMAT(#{param.endTime},
'%Y-%m-%d'), ' 23:59:59'), #{param.endTime})
</if>
<if test="param.carNumber != null and param.carNumber != ''">
and a.car_number = #{param.carNumber}