限制两个管理员
This commit is contained in:
@ -48,7 +48,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
|
||||
<select id="countUserSchoolAdminRoleByDeptId" resultType="Integer">
|
||||
select count(1) from sys_user u left join sys_user_role r on u.user_id=r.user_id
|
||||
where dept_id=#{deptId} and role_id=#{roleId}
|
||||
where dept_id=#{deptId} and role_id=#{roleId} and u.status='0' and u.del_flag = '0'
|
||||
</select>
|
||||
|
||||
<sql id="selectUserVo">
|
||||
|
Reference in New Issue
Block a user