获取权限列表过滤无用列表
This commit is contained in:
parent
cc47fb8636
commit
7fb08e20b9
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue