Commit ae91bf4f authored by 周健威's avatar 周健威

修改权限bug

parent 2e8e7051
......@@ -45,7 +45,7 @@
select distinct t.* from base_resource_authority ra
inner join base_menu t
on ra.resource_id = t.id
and ra.authority_id in (
where ra.authority_id in (
select group_id from base_group_member where user_id = #{userId}
union select group_id from base_group_leader where user_id = #{userId}
)
......@@ -57,7 +57,7 @@
select distinct t.* from base_resource_authority ra
inner join base_menu t
on ra.resource_id = t.id
and ra.authority_id in (
where ra.authority_id in (
select group_id from base_group_member where user_id = #{userId}
union select group_id from base_group_leader where user_id = #{userId}
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment