This commit is contained in:
linfso 2024-11-27 06:56:53 +08:00
parent 6c57604553
commit 129b7c1db5

View File

@ -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 )
)
<if test="searchValue != null and searchValue != ''">
and (a.emp_code=#{searchValue} or a.phonenumber=#{searchValue} or a.emp_name=#{searchValue})
</if>