demand: TMS系统 - 运单管理 - 寄件运单查询/寄件运单查询新/派件运单查询/中心运单查询 - 新增查询条件“现金客户” 导出的数据也包含现金客户

This commit is contained in:
aike 2026-01-05 13:33:56 +08:00
parent 4f7d7b9ac5
commit 05bd48d437

View File

@ -2805,6 +2805,7 @@
from emis_waybill a
left join emis_customer_user a4 on a.cust_no = a4.monthly_pay_code and a4.del_flag = '0'
left join emis_waybill_other wss on a.id = wss.waybill_id and wss.del_flag = '0'
left join emis_money_user mu on wss.money_user_id=mu.id and mu.del_flag='0'
<where>
a.del_flag='0' and a.order_status !='0' and a.order_status!='2'
<if test="id != null "> and a.id = #{id}</if>