获取权限列表过滤无用列表
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
from sys_users_roles as a
|
||||
left join sys_roles_menus as b on a.role_id = b.role_id
|
||||
left join sys_menu as c on c.menu_id = b.menu_id
|
||||
where a.user_id = #{userId}
|
||||
where a.user_id = #{userId} and c.menu_id is not null
|
||||
<if test="type != null">
|
||||
and c.type=#{type}
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user