This commit is contained in:
linfso 2024-12-14 17:52:54 +08:00
parent bee76782de
commit 8b84212ad9

View File

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