md
This commit is contained in:
parent
d6e61c918b
commit
f0b3fa01e6
@ -577,13 +577,14 @@
|
||||
b.avatar,
|
||||
b.phonenumber AS phone,
|
||||
b.owner_site_code AS ownerSiteCode,
|
||||
'' AS ownerSiteName,
|
||||
c.site_name AS ownerSiteName,
|
||||
a.default_flag as defaultFlag
|
||||
FROM
|
||||
sys_oms_user_bind_emp a,
|
||||
sys_user b
|
||||
sys_user b,
|
||||
emis_site c
|
||||
WHERE
|
||||
a.emp_code = b.emp_code and b.del_flag='0' and b.bl_open='1'
|
||||
a.emp_code = b.emp_code and b.owner_site_code=c.site_code and b.del_flag='0' and c.del_flag='0' and b.bl_open='1'
|
||||
AND a.customer_code = #{customerCode}
|
||||
<if test="searchValue != null and searchValue != ''">
|
||||
and b.emp_name like concat('%', #{searchValue}, '%')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user