fix 当admin授权普通角色时,普通角色在创建角色时,看不到当前创建的角色

This commit is contained in:
ehack 2023-10-31 14:54:32 +08:00
parent 4198dce4f0
commit 7238c5a56e

View File

@ -22,7 +22,7 @@
from sys_role r
left join sys_user_role sur on sur.role_id = r.role_id
left join sys_user u on u.user_id = sur.user_id
left join sys_dept d on u.dept_id = d.dept_id
left join sys_dept d on (u.dept_id = d.dept_id or r.create_dept=d.dept_id)
</sql>
<select id="selectPageRoleList" resultMap="SysRoleResult">