From 5822e72ca2107ea1757e57ac0b6c700d09de6651 Mon Sep 17 00:00:00 2001 From: linfso Date: Sat, 31 Aug 2024 06:36:28 +0800 Subject: [PATCH] md --- .../src/main/resources/mapper/EmisWaybillMapper.xml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/emis-oms-biz/src/main/resources/mapper/EmisWaybillMapper.xml b/emis-oms-biz/src/main/resources/mapper/EmisWaybillMapper.xml index 67af9fa..df38e01 100644 --- a/emis-oms-biz/src/main/resources/mapper/EmisWaybillMapper.xml +++ b/emis-oms-biz/src/main/resources/mapper/EmisWaybillMapper.xml @@ -491,17 +491,22 @@ and a.customer_code=#{customerCode} + 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.payment_status='0' + + + and a.customer_code=#{customerCode} - - and a.customer_code=#{customerCode} - + and not exists(