From 4e898fc20e14d08e01e3076680d0f9f8eac64f53 Mon Sep 17 00:00:00 2001
From: aike <17730485278@139.com>
Date: Mon, 5 Jan 2026 11:38:36 +0800
Subject: [PATCH] =?UTF-8?q?demand:=20=20TMS=E7=B3=BB=E7=BB=9F=20-=20?=
=?UTF-8?q?=E8=BF=90=E5=8D=95=E7=AE=A1=E7=90=86=20-=20=E5=AF=84=E4=BB=B6?=
=?UTF-8?q?=E8=BF=90=E5=8D=95=E6=9F=A5=E8=AF=A2/=E5=AF=84=E4=BB=B6?=
=?UTF-8?q?=E8=BF=90=E5=8D=95=E6=9F=A5=E8=AF=A2=E6=96=B0/=E6=B4=BE?=
=?UTF-8?q?=E4=BB=B6=E8=BF=90=E5=8D=95=E6=9F=A5=E8=AF=A2/=E4=B8=AD?=
=?UTF-8?q?=E5=BF=83=E8=BF=90=E5=8D=95=E6=9F=A5=E8=AF=A2=20-=20=E6=96=B0?=
=?UTF-8?q?=E5=A2=9E=E6=9F=A5=E8=AF=A2=E6=9D=A1=E4=BB=B6=E2=80=9C=E7=8E=B0?=
=?UTF-8?q?=E9=87=91=E5=AE=A2=E6=88=B7=E2=80=9D=20=E5=AF=BC=E5=87=BA?=
=?UTF-8?q?=E7=9A=84=E6=95=B0=E6=8D=AE=E4=B9=9F=E5=8C=85=E5=90=AB=E7=8E=B0?=
=?UTF-8?q?=E9=87=91=E5=AE=A2=E6=88=B7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/main/resources/mapper/EmisWaybillMapper.xml | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml b/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml
index e56704a08..dbe862add 100644
--- a/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml
+++ b/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml
@@ -1731,9 +1731,6 @@
and a.update_site=#{updateSite}
-
- AND mu.id = #{params.moneyUserId}
-
and exists (
select 1 from emis_waybill_problem_info ewpi where a.bill_code=ewpi.bill_code and ewpi.del_flag='0' and FIND_IN_SET( ewpi.`problem_type`, #{params.problemQueryIds} )
@@ -1886,6 +1883,11 @@
select 1 from emis_customer_user ecu where a.cust_no=ecu.monthly_pay_code and ecu.owner_site=#{params.privSiteCode}
)
+
+ or EXISTS (
+ select 1 from emis_money_user emu where wss.money_user_id=emu.money_user_id and emu.money_user_id=#{params.moneyUserId} and emu.del_flag='0'
+ )
+
or a.salesmen=#{params.privEmpName}
or a.payee=#{params.privEmpName}
@@ -3119,6 +3121,11 @@
select 1 from emis_customer_user ecu where a.cust_no=ecu.monthly_pay_code and ecu.owner_site=#{params.privSiteCode}
)
+
+ or EXISTS (
+ select 1 from emis_money_user emu where wss.money_user_id=emu.money_user_id and emu.money_user_id=#{params.moneyUserId} and emu.del_flag='0'
+ )
+
or a.salesmen=#{params.privEmpName}
or a.payee=#{params.privEmpName}