Commit 8bac8f93 authored by jiaorz's avatar jiaorz

Merge branch 'master-bug-0921' into dev

parents 18379919 60ed4609
...@@ -506,13 +506,13 @@ ...@@ -506,13 +506,13 @@
<if test="flag == true and status == 1"> <if test="flag == true and status == 1">
and book_end_date &gt;= now() and book_end_date &gt;= now()
</if> </if>
<!--增加时间限制,已审核的未出车小于当前时间的不显示, 已出车的结束时间后两天的不显示--> <!--增加时间限制,已审核的未出车小于当前时间的不显示, 已出车的结束时间延后两天小于当前时间的不显示-->
<if test="flag == true and status == 2"> <if test="flag == true and status == 2">
and ( and (
(v4.id IS NOT NULL AND DATE_ADD( v1.book_end_date, INTERVAL '2 00:00:00' DAY_SECOND ) >= NOW()) (v4.id IS NOT NULL AND DATE_ADD( v1.book_end_date, INTERVAL '2 00:00:00' DAY_SECOND ) &gt;= NOW())
OR ( OR (
v4.id IS NULL v4.id IS NULL
AND v1.book_end_date >= now() AND v1.book_end_date &gt;= now()
)) ))
</if> </if>
and v1.book_user != -2 and v1.book_user != -2
......
...@@ -150,8 +150,7 @@ ...@@ -150,8 +150,7 @@
</foreach> </foreach>
</if> </if>
<if test="subordinateBranch !=null "> <if test="subordinateBranch !=null ">
and ( v.park_branch_company_id = #{subordinateBranch} or and ( v.park_branch_company_id = #{subordinateBranch})
v.expect_destination_branch_company_id=#{subordinateBranch} )
</if> </if>
<if test=" addrProvince !=null or addrCity !=null or zoneId !=null "> <if test=" addrProvince !=null or addrCity !=null or zoneId !=null ">
<if test="addrProvince !=null"> <if test="addrProvince !=null">
......
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