Commit 4086fef7 authored by jiaorz's avatar jiaorz Committed by libin

Merge branch 'master-modify-cutAmount' into dev

parent b4d9fbf8
......@@ -508,7 +508,12 @@
</if>
<!--增加时间限制,已审核的未出车小于当前时间的不显示, 已出车的结束时间延后两天小于当前时间的不显示-->
<if test="flag == true and status == 2">
and ( v4.id IS NOT NULL OR (v4.id IS NULL AND v1.book_end_date &gt;= now()))
and (
<!-- (v4.id IS NOT NULL AND DATE_ADD( v1.book_end_date, INTERVAL '2 00:00:00' DAY_SECOND ) &gt;= NOW())-->
<!-- OR (-->
v4.id IS NULL
AND v1.book_end_date &gt;= now()
)
</if>
and v1.book_user != -2
</where>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment