+时间处理
This commit is contained in:
parent
68b137e0b9
commit
8b4a586d22
@ -6,7 +6,7 @@
|
||||
select * from (
|
||||
<if test="isNowDay">
|
||||
SELECT * from (SELECT * FROM pending_message_record WHERE DATE(create_at) <![CDATA[<]]> DATE(#{selectDate})
|
||||
AND (state = ('HAS_BEEN_SENT') or (state = ('COMPLETED') and update_at = DATE(#{selectDate})))
|
||||
AND (state = ('HAS_BEEN_SENT') or (state = ('COMPLETED') and DATE(update_at) = DATE(#{selectDate})))
|
||||
AND is_delete = 0
|
||||
AND executor_person_id=#{personId} AND template_code IN<foreach collection="pendingCalendarCodeDTO.allCodes" index="index" item="item" open="(" separator="," close=")">
|
||||
#{item}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user