Commit 765e1fa9 authored by jiaorz's avatar jiaorz

Merge branch 'master-bug-0921' into dev

parents 8d07da8e a6b94004
...@@ -507,12 +507,13 @@ ...@@ -507,12 +507,13 @@
and book_end_date >= now() and book_end_date >= now()
</if> </if>
<!--增加时间限制,已审核的未出车小于当前时间的不显示, 已出车的结束时间后两天的不显示--> <!--增加时间限制,已审核的未出车小于当前时间的不显示, 已出车的结束时间后两天的不显示-->
<if test="flag == true and (status == 2 || status == 3)"> <if test="flag == true and (status == 2 || status == 3 || status == 5)">
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 not NULL and v1.book_end_date &gt;= DATE_ADD(NOW(),interval '2 00:00:00' DAY_SECOND)) or
(v4.id is NULL and v1.book_end_date &gt;= now()) (v4.id is NULL and v1.book_end_date &gt;= now()))
</if> </if>
and v1.book_user != -2 and v1.book_user != -2
</where> </where>
group by v1.id
order by create_time DESC order by create_time DESC
</select> </select>
......
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