修改选择用户接口

This commit is contained in:
梁琦涛
2024-08-14 11:43:58 +08:00
parent 2cfd2a91b2
commit 7ffc89ff73
@@ -4,7 +4,7 @@
<!-- 分页查询用户信息 --> <!-- 分页查询用户信息 -->
<select id="queryPage" resultType="com.jero.modules.system.entity.SysUser"> <select id="queryPage" resultType="com.jero.modules.system.entity.SysUser">
select id from sys_user where del_flag = 0 select * from sys_user where del_flag = 0
<if test="departIds!=null and departIds.size()>0"> <if test="departIds!=null and departIds.size()>0">
and id in (select user_id from sys_user_depart where dep_id in and id in (select user_id from sys_user_depart where dep_id in
<foreach collection="departIds" index="index" item="id" open="(" separator="," close=")"> <foreach collection="departIds" index="index" item="id" open="(" separator="," close=")">