md
This commit is contained in:
parent
e586d32209
commit
e32f4f6204
@ -50,8 +50,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
|
|
||||||
<if test="params.needTrace != null and params.needTrace != '1'">
|
<if test="params.needTrace != null and params.needTrace != '1'">
|
||||||
and last_waybill_status != '50'
|
and last_waybill_status != '50'
|
||||||
and DATE_SUB(CURDATE(), INTERVAL 30 DAY) <![CDATA[ <= ]]> date(last_trace_date)
|
and last_trace_date <![CDATA[ > ]]> DATE_SUB(CURDATE(), INTERVAL 30 DAY)
|
||||||
and update_time <![CDATA[ < ]]> SUBDATE(now(),interval -2 hour)
|
and last_trace_date <![CDATA[ < ]]> SUBDATE(now(),interval 2 hour)
|
||||||
|
or last_trace_date is null
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
</where>
|
</where>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user