md
This commit is contained in:
parent
a63e2fcafa
commit
5822e72ca2
@ -491,17 +491,22 @@
|
|||||||
and a.customer_code=#{customerCode}
|
and a.customer_code=#{customerCode}
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
|
<!-- 收件 -->
|
||||||
<if test="params.omsOrderTab != null and params.omsOrderTab == 2 ">
|
<if test="params.omsOrderTab != null and params.omsOrderTab == 2 ">
|
||||||
and exists (select 1 from emis_customer_user ecu where a.del_flag='0' and a.receive_mobile=ecu.phone and ecu.customer_code=#{customerCode} )
|
and exists (select 1 from emis_customer_user ecu where a.del_flag='0' and a.receive_mobile=ecu.phone and ecu.customer_code=#{customerCode} )
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
|
<!-- 待付款 -->
|
||||||
|
<if test="params.omsOrderTab != null and params.omsOrderTab == 3 ">
|
||||||
|
and a.payment_status='0'
|
||||||
|
</if>
|
||||||
|
|
||||||
|
<!-- 其他 -->
|
||||||
<if test="params.omsOrderTab != null ( and params.omsOrderTab != 1 and params.omsOrderTab != 2 and params.omsOrderTab != 3 )">
|
<if test="params.omsOrderTab != null ( and params.omsOrderTab != 1 and params.omsOrderTab != 2 and params.omsOrderTab != 3 )">
|
||||||
and a.customer_code=#{customerCode}
|
and a.customer_code=#{customerCode}
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
<if test="params.omsOrderTab != null and params.omsOrderTab == 3 ">
|
|
||||||
and a.customer_code=#{customerCode}
|
|
||||||
</if>
|
|
||||||
|
|
||||||
|
|
||||||
and not exists(
|
and not exists(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user