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