md
This commit is contained in:
parent
3dfce5db97
commit
a63e2fcafa
@ -495,6 +495,15 @@
|
|||||||
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 != 1 and params.omsOrderTab != 2 and params.omsOrderTab != 3 )">
|
||||||
|
and a.customer_code=#{customerCode}
|
||||||
|
</if>
|
||||||
|
|
||||||
|
<if test="params.omsOrderTab != null and params.omsOrderTab == 3 ">
|
||||||
|
and a.customer_code=#{customerCode}
|
||||||
|
</if>
|
||||||
|
|
||||||
|
|
||||||
and not exists(
|
and not exists(
|
||||||
select 1 from emis_waybill_problem_info ewpi where a.bill_code=ewpi.bill_code and ewpi.del_flag='0' and ewpi.`problem_type` !=null and ewpi.`problem_type` in(173,170,151)
|
select 1 from emis_waybill_problem_info ewpi where a.bill_code=ewpi.bill_code and ewpi.del_flag='0' and ewpi.`problem_type` !=null and ewpi.`problem_type` in(173,170,151)
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user