md
This commit is contained in:
parent
9a84987a4f
commit
2d0342f0c5
@ -541,7 +541,7 @@
|
|||||||
sys_oms_user_bind_emp a,
|
sys_oms_user_bind_emp a,
|
||||||
sys_user b
|
sys_user b
|
||||||
WHERE
|
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 a.customer_code = #{customerCode}
|
||||||
<if test="searchValue != null and searchValue != ''">
|
<if test="searchValue != null and searchValue != ''">
|
||||||
and b.emp_name like concat('%', #{searchValue}, '%')
|
and b.emp_name like concat('%', #{searchValue}, '%')
|
||||||
@ -562,7 +562,7 @@
|
|||||||
b.site_name AS ownerSiteName
|
b.site_name AS ownerSiteName
|
||||||
FROM
|
FROM
|
||||||
sys_user a,emis_site b
|
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
|
||||||
<if test="searchValue != null and searchValue != ''">
|
<if test="searchValue != null and searchValue != ''">
|
||||||
and (a.emp_code=#{searchValue} or a.phonenumber=#{searchValue})
|
and (a.emp_code=#{searchValue} or a.phonenumber=#{searchValue})
|
||||||
</if>
|
</if>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user