From a63e2fcafa0c8c636a2ca166a7e65128a6b20090 Mon Sep 17 00:00:00 2001 From: linfso Date: Sat, 31 Aug 2024 06:35:08 +0800 Subject: [PATCH] md --- .../src/main/resources/mapper/EmisWaybillMapper.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/emis-oms-biz/src/main/resources/mapper/EmisWaybillMapper.xml b/emis-oms-biz/src/main/resources/mapper/EmisWaybillMapper.xml index 12302f3..67af9fa 100644 --- a/emis-oms-biz/src/main/resources/mapper/EmisWaybillMapper.xml +++ b/emis-oms-biz/src/main/resources/mapper/EmisWaybillMapper.xml @@ -495,6 +495,15 @@ and exists (select 1 from emis_customer_user ecu where a.del_flag='0' and a.receive_mobile=ecu.phone and ecu.customer_code=#{customerCode} ) + + and a.customer_code=#{customerCode} + + + + and a.customer_code=#{customerCode} + + + 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) )