From 8e0b78530bec76e19d3a6a4ecb45f224d1e31f48 Mon Sep 17 00:00:00 2001 From: linfso Date: Wed, 1 Jan 2025 16:16:19 +0800 Subject: [PATCH] md --- .../main/resources/mapper/EmisWaybillMapper.xml | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml b/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml index 122480de8..d5b358a2e 100644 --- a/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisWaybillMapper.xml @@ -212,7 +212,6 @@ - @@ -1243,23 +1242,11 @@ - and EXISTS ( - select 1 from emis_waybill_attachment ewatm - where - ewatm.del_flag='0' and a.bill_code=ewatm.bill_code - and ewatm.attach_type='0' - ) - - + and a.goods_pics is not null - and not EXISTS ( - select 1 from emis_waybill_attachment ewatm - where - ewatm.del_flag='0' and a.bill_code=ewatm.bill_code - and ewatm.attach_type='0' - ) + and a.goods_pics is null