md
This commit is contained in:
parent
bee76782de
commit
8b84212ad9
@ -537,6 +537,8 @@
|
|||||||
|
|
||||||
<if test="userId != null "> and a.user_id = #{userId}</if>
|
<if test="userId != null "> and a.user_id = #{userId}</if>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- 寄件 -->
|
<!-- 寄件 -->
|
||||||
<if test="params.omsOrderTab == null or (params.omsOrderTab != null and params.omsOrderTab != 2) ">
|
<if test="params.omsOrderTab == null or (params.omsOrderTab != null and params.omsOrderTab != 2) ">
|
||||||
and a.customer_code=#{customerCode}
|
and a.customer_code=#{customerCode}
|
||||||
@ -552,6 +554,10 @@
|
|||||||
and a.payment_status='0'
|
and a.payment_status='0'
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
|
<if test="params.paymentType != null and params.paymentType !='' ">
|
||||||
|
and a.payment_status=#{params.paymentType}
|
||||||
|
</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