From 129b7c1db56985757697baf2a64b66f9c2a6be84 Mon Sep 17 00:00:00 2001 From: linfso Date: Wed, 27 Nov 2024 06:56:53 +0800 Subject: [PATCH] md --- .../src/main/resources/mapper/EmisWaybillMapper.xml | 7 +++++-- 1 file changed, 5 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 4673699..4424197 100644 --- a/emis-oms-biz/src/main/resources/mapper/EmisWaybillMapper.xml +++ b/emis-oms-biz/src/main/resources/mapper/EmisWaybillMapper.xml @@ -604,9 +604,12 @@ a.owner_site_code AS ownerSiteCode, b.site_name AS ownerSiteName FROM - sys_user a,emis_site b,sys_user_post c + sys_user a,emis_site b WHERE a.del_flag='0' and b.del_flag='0' and a.bl_open='1' - and a.owner_site_code=b.site_code and a.user_id=c.user_id and c.post_id in(5,6,7) + and a.owner_site_code=b.site_code + and a.user_id in( + select user_id from sys_user_post c where c.post_id IN ( 5,6,7 ) + ) and (a.emp_code=#{searchValue} or a.phonenumber=#{searchValue} or a.emp_name=#{searchValue})