From f60f6328313c8294f6e4bdf3934acd5575d532f6 Mon Sep 17 00:00:00 2001 From: linfso Date: Wed, 10 Jul 2024 22:08:58 +0800 Subject: [PATCH] md --- 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 22f8d40a0..a97721f59 100644 --- a/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml @@ -690,7 +690,7 @@ - and a.bill_code not in( select etp.bill_code from emis_tms_pack_dtl etp where etp.del_flag='0' ) + and not EXISTS ( select 1 from emis_tms_pack_dtl etp where etp.del_flag='0' and etp.main_bill_code=a.bill_code ) and a.trans_line_type in( select line_code from emis_trans_line etl where etl.trans_type=1 )