md
This commit is contained in:
parent
6c57604553
commit
129b7c1db5
@ -604,9 +604,12 @@
|
|||||||
a.owner_site_code AS ownerSiteCode,
|
a.owner_site_code AS ownerSiteCode,
|
||||||
b.site_name AS ownerSiteName
|
b.site_name AS ownerSiteName
|
||||||
FROM
|
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'
|
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 )
|
||||||
|
)
|
||||||
<if test="searchValue != null and searchValue != ''">
|
<if test="searchValue != null and searchValue != ''">
|
||||||
and (a.emp_code=#{searchValue} or a.phonenumber=#{searchValue} or a.emp_name=#{searchValue})
|
and (a.emp_code=#{searchValue} or a.phonenumber=#{searchValue} or a.emp_name=#{searchValue})
|
||||||
</if>
|
</if>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user