mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-21 02:25:56 +08:00
fix 当admin授权普通角色时,普通角色在创建角色时,看不到当前创建的角色
This commit is contained in:
parent
4198dce4f0
commit
7238c5a56e
@ -22,7 +22,7 @@
|
|||||||
from sys_role r
|
from sys_role r
|
||||||
left join sys_user_role sur on sur.role_id = r.role_id
|
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_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>
|
</sql>
|
||||||
|
|
||||||
<select id="selectPageRoleList" resultMap="SysRoleResult">
|
<select id="selectPageRoleList" resultMap="SysRoleResult">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user