From 432eca663e292113e9ffbe7ab6b4a9a2b2f5d5a8 Mon Sep 17 00:00:00 2001 From: linfso Date: Wed, 15 Jan 2025 17:16:11 +0800 Subject: [PATCH] md --- .../main/resources/mapper/EmisWaybillMapper.xml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/emis-oms-biz/src/main/resources/mapper/EmisWaybillMapper.xml b/emis-oms-biz/src/main/resources/mapper/EmisWaybillMapper.xml index fd8c11c..7377e8f 100644 --- a/emis-oms-biz/src/main/resources/mapper/EmisWaybillMapper.xml +++ b/emis-oms-biz/src/main/resources/mapper/EmisWaybillMapper.xml @@ -552,7 +552,19 @@ - a.receive_mobile=#{params.queryPhone} + + + a.receive_mobile=#{params.queryPhone} + + + + 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} + ) + +