md
This commit is contained in:
parent
ddffbdc08b
commit
39785da26e
@ -606,15 +606,16 @@
|
|||||||
FROM
|
FROM
|
||||||
sys_user a,emis_site b,sys_user_post c
|
sys_user a,emis_site b,sys_user_post c
|
||||||
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=5
|
and a.owner_site_code=b.site_code and a.user_id=c.user_id and 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>
|
||||||
|
|
||||||
|
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<select id="checkEmpIsExist" resultType="int">
|
<select id="checkEmpIsExist" resultType="int">
|
||||||
select count(1) from sys_user where del_flag='0' and emp_code=#{empCode}
|
select count(1) from sys_user where del_flag='0' and emp_code=#{empCode}
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user