Commit 3d0e2eac authored by jiaorz's avatar jiaorz

Merge branch 'master-bug-0921' into dev

parents 765e1fa9 19abf1f2
...@@ -507,9 +507,13 @@ ...@@ -507,9 +507,13 @@
and book_end_date >= now() and book_end_date >= now()
</if> </if>
<!--增加时间限制,已审核的未出车小于当前时间的不显示, 已出车的结束时间后两天的不显示--> <!--增加时间限制,已审核的未出车小于当前时间的不显示, 已出车的结束时间后两天的不显示-->
<if test="flag == true and (status == 2 || status == 3 || status == 5)"> <if test="flag == true and status == 2">
and ((v4.id is not NULL and v1.book_end_date &gt;= DATE_ADD(NOW(),interval '2 00:00:00' DAY_SECOND)) or and (
(v4.id is NULL and v1.book_end_date &gt;= now())) (v4.id IS NOT NULL AND DATE_ADD( v1.book_end_date, INTERVAL '2 00:00:00' DAY_SECOND ) >= NOW())
OR (
v4.id IS NULL
AND v1.book_end_date >= now()
))
</if> </if>
and v1.book_user != -2 and v1.book_user != -2
</where> </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