From eba423e5987972844a483ed2c4673dfdfde72a86 Mon Sep 17 00:00:00 2001
From: aike <17730485278@139.com>
Date: Tue, 21 Oct 2025 19:07:45 +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=E8=A1=A5=E6=89=93=E5=8D=B0=20-=E4=B8=8D?=
=?UTF-8?q?=E5=8C=BA=E5=88=86=E7=BD=91=E7=82=B9=E6=9D=83=E9=99=90=E5=92=8C?=
=?UTF-8?q?=E6=80=BB=E9=83=A8=E6=9D=83=E9=99=90=EF=BC=8C=E8=BF=90=E5=8D=95?=
=?UTF-8?q?=E8=A1=A5=E6=89=93=E5=8D=B0=20=E5=8F=96=E4=BB=B6=E5=91=98=20?=
=?UTF-8?q?=E6=9F=A5=E8=AF=A2=E4=B8=8E=E9=80=89=E6=8B=A9=E5=91=98=E5=B7=A5?=
=?UTF-8?q?=E5=A7=93=E5=90=8D=E5=8C=B9=E9=85=8D=E7=9A=84=E6=89=80=E6=9C=89?=
=?UTF-8?q?=E7=BD=91=E7=82=B9=E7=9A=84=20=E5=BC=80=E5=8D=95=E6=95=B0?=
=?UTF-8?q?=E6=8D=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
committer: heyu
---
emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml b/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml
index 5cfc296ce..75e49225d 100644
--- a/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml
+++ b/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml
@@ -2528,7 +2528,7 @@
and a.send_company like concat('%', #{sendCompany}, '%')
and a.enterprise_name like concat('%', #{enterpriseName}, '%')
and a.enterprise_tax_id like concat('%', #{enterpriseTaxId}, '%')
- and a.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 a.operate_employee_code=#{operateEmployeeCode}
and register_man_code= #{registerManCode}