From 8ae74d2e5d8a0da49b00a727010734838f014f0c Mon Sep 17 00:00:00 2001
From: aike <17730485278@139.com>
Date: Mon, 27 Oct 2025 11:38:32 +0800
Subject: [PATCH] =?UTF-8?q?demand:=20=20=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-=E5=AF=84=E4=BB=B6?=
=?UTF-8?q?=E8=BF=90=E5=8D=95=E6=9F=A5=E8=AF=A2=E6=96=B0=E3=80=81=E5=AF=84?=
=?UTF-8?q?=E4=BB=B6=E8=BF=90=E5=8D=95=E6=9F=A5=E8=AF=A2=E3=80=81=E5=AF=84?=
=?UTF-8?q?=E4=BB=B6=E8=BF=90=E5=8D=95=E6=9F=A5=E8=AF=A2=E6=96=B0=E3=80=81?=
=?UTF-8?q?=E4=B8=AD=E5=BF=83=E8=BF=90=E5=8D=95=E6=9F=A5=E8=AF=A2-?=
=?UTF-8?q?=E6=A0=B9=E6=8D=AE=E5=8F=96=E4=BB=B6=E5=91=98=E6=9F=A5=E8=AF=A2?=
=?UTF-8?q?=E6=97=B6=E4=B8=8D=E5=8C=BA=E5=88=86=E7=BD=91=E7=82=B9=E6=9F=A5?=
=?UTF-8?q?=E8=AF=A2=E5=8F=96=E4=BB=B6=E5=91=98=E5=85=B3=E8=81=94=E7=9A=84?=
=?UTF-8?q?=E5=85=A8=E9=83=A8=E6=95=B0=E6=8D=AE=20committer:=20heyu?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml b/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml
index 310adcd05..251948983 100644
--- a/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml
+++ b/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml
@@ -1308,7 +1308,8 @@
and register_site_code=#{registerSiteCode}
and register_date = #{registerDate}
and register_man_code= #{registerManCode}
- and take_piece_employee_code=#{takePieceEmployeeCode}
+ and exists (select 1 from sys_user su1, sys_user su2 where su1.emp_code = #{takePieceEmployeeCode} and su2.emp_code = a.take_piece_employee_code and su1.emp_name = su2.emp_name and su1.del_flag='0' and su2.del_flag='0')
+
and send_date = #{sendDate}
and dispatch_man_code=#{dispatchManCode}