新增禁用用户不被考勤页面检索
This commit is contained in:
@@ -20,4 +20,11 @@
|
||||
on u.user_id = sur.user_id and sur.role_id != #{roleId}
|
||||
</select>
|
||||
|
||||
<select id="selectUserIdsByNotRoleId" resultType="java.lang.Long">
|
||||
select u.user_id from sys_user u
|
||||
inner join sys_user_role sur
|
||||
on u.user_id = sur.user_id and sur.role_id != #{roleId}
|
||||
where (u.status='0' or u.del_flag != '0')
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user