新增禁用用户不被考勤页面检索

This commit is contained in:
2025-12-01 16:55:07 +08:00
parent 42c9b11992
commit 789a6e17e4
2 changed files with 1 additions and 2 deletions

View File

@@ -20,7 +20,7 @@
on u.user_id = sur.user_id and sur.role_id != #{roleId}
</select>
<select id="selectUserIdsByNotRoleId" resultType="java.lang.Long">
<select id="selectUserIdsByRoleIdAndEnable" 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}