From 26b2a14a3812785d20d9bed552f31593372d529f Mon Sep 17 00:00:00 2001 From: aike <17730485278@139.com> Date: Tue, 28 Oct 2025 09:57:12 +0800 Subject: [PATCH] =?UTF-8?q?demand:=20=20=20=20tms-=E5=AE=A2=E6=88=B7?= =?UTF-8?q?=E8=B4=A6=E5=8D=95=E7=AE=A1=E7=90=86-=E4=B8=9A=E5=8A=A1?= =?UTF-8?q?=E5=87=BA=E8=B4=A6=E7=A1=AE=E8=AE=A4-=E8=B4=A6=E5=8D=95?= =?UTF-8?q?=E5=87=BA=E8=B4=A6=E8=87=AA=E5=8A=A8=E8=BF=87=E6=BB=A4=E6=8E=89?= =?UTF-8?q?=E6=9C=89=E8=99=9A=E6=8B=9F=E4=BB=B6=E6=A0=87=E8=AF=86=E4=B8=94?= =?UTF-8?q?=E5=B7=B2=E7=BB=91=E5=AE=9A=E4=B8=BB=E5=8D=95=E7=9A=84=E8=BF=90?= =?UTF-8?q?=E5=8D=95=20committer:=20heyu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/EmisSettleSubBillMapper.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/emis-biz/src/main/resources/mapper/EmisSettleSubBillMapper.xml b/emis-biz/src/main/resources/mapper/EmisSettleSubBillMapper.xml index bca1246b9..a6d7b309b 100644 --- a/emis-biz/src/main/resources/mapper/EmisSettleSubBillMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisSettleSubBillMapper.xml @@ -167,6 +167,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 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` in(173,170,151) ) + + and not exists( + select 1 from emis_waybill ew where a.bill_code=ew.bill_code and ew.bl_virtual='1' and ew.master_bill_code is not null and ew.master_bill_code != '' + ) and a.send_site_code = #{params.sendSiteCode} @@ -323,6 +327,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 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` in(173,170,151) ) + + and not exists( + select 1 from emis_waybill ew where a.bill_code=ew.bill_code and ew.bl_virtual='1' and ew.master_bill_code is not null and ew.master_bill_code != '' + ) and a.send_site_code = #{params.sendSiteCode}