From 7a9183da30caf80ffce73a5a7b03abecfc09b241 Mon Sep 17 00:00:00 2001 From: linfso Date: Wed, 9 Jul 2025 10:57:00 +0800 Subject: [PATCH] md --- emis-oms-biz/src/main/resources/mapper/EmisWaybillMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emis-oms-biz/src/main/resources/mapper/EmisWaybillMapper.xml b/emis-oms-biz/src/main/resources/mapper/EmisWaybillMapper.xml index 45a549b..d154a47 100644 --- a/emis-oms-biz/src/main/resources/mapper/EmisWaybillMapper.xml +++ b/emis-oms-biz/src/main/resources/mapper/EmisWaybillMapper.xml @@ -293,8 +293,8 @@ ) ) tb3, ( - SELECT count( 1 ) AS transCount FROM emis_waybill - WHERE del_flag='0' and order_status != '2' AND waybill_status != 0 AND bl_sign != '1' + SELECT count( 1 ) AS transCount FROM emis_waybill a + WHERE a.del_flag='0' and a.order_status != '2' AND a.waybill_status != 0 AND a.bl_sign != '1' 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` !=null and ewpi.`problem_type` in(173,170,151) )