md
This commit is contained in:
parent
2b61236512
commit
c91fc144d4
@ -493,11 +493,11 @@
|
|||||||
|
|
||||||
<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} )
|
||||||
and a.bill_code not in (
|
|
||||||
select bill_code from emis_waybill_problem_info ewpi where ewpi.del_flag='0' and FIND_IN_SET( ewpi.`problem_type`, 173,170,151)
|
|
||||||
)
|
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
|
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)
|
||||||
|
)
|
||||||
|
|
||||||
<if test="params.beginDate != null and params.beginDate != ''">
|
<if test="params.beginDate != null and params.beginDate != ''">
|
||||||
and a.send_date <![CDATA[ >= ]]> #{params.beginDate}
|
and a.send_date <![CDATA[ >= ]]> #{params.beginDate}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user