|
@@ -89,10 +89,10 @@
|
|
|
AND subitem_name LIKE CONCAT('%', #{subitemName}, '%')
|
|
|
</if>
|
|
|
<if test="startDate != null and startDate != ''">
|
|
|
- AND check_start_time >= #{startDate}
|
|
|
+ AND FROM_UNIXTIME( check_start_time / 1000, '%Y-%m-%d' ) >= #{startDate}
|
|
|
</if>
|
|
|
<if test="endDate != null and endDate != ''">
|
|
|
- AND check_end_time <= #{endDate}
|
|
|
+ AND FROM_UNIXTIME( check_end_time / 1000, '%Y-%m-%d' ) <= #{endDate}
|
|
|
</if>
|
|
|
</where>
|
|
|
GROUP BY
|