diff --git a/emis-oms-biz/src/main/resources/mapper/EmisWaybillMapper.xml b/emis-oms-biz/src/main/resources/mapper/EmisWaybillMapper.xml index 48d1dba..e746fcf 100644 --- a/emis-oms-biz/src/main/resources/mapper/EmisWaybillMapper.xml +++ b/emis-oms-biz/src/main/resources/mapper/EmisWaybillMapper.xml @@ -541,7 +541,7 @@ sys_oms_user_bind_emp a, sys_user b WHERE - a.emp_code = b.emp_code + a.emp_code = b.emp_code and b.del_flag='0' and b.bl_open='1' AND a.customer_code = #{customerCode} and b.emp_name like concat('%', #{searchValue}, '%') @@ -562,7 +562,7 @@ b.site_name AS ownerSiteName FROM sys_user a,emis_site b - WHERE a.del_flag='0' and b.del_flag='0' and a.owner_site_code=b.site_code + 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.emp_code=#{searchValue} or a.phonenumber=#{searchValue})