正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
| @@ -96,7 +96,8 @@ | @@ -96,7 +96,8 @@ | ||
| 96 | from sys_menu m | 96 | from sys_menu m |
| 97 | left join sys_role_menu rm on m.menu_id = rm.menu_id | 97 | left join sys_role_menu rm on m.menu_id = rm.menu_id |
| 98 | left join sys_user_role ur on rm.role_id = ur.role_id | 98 | left join sys_user_role ur on rm.role_id = ur.role_id |
| 99 | - where ur.user_id = #{userId} | 99 | + left join sys_role r on r.role_id = ur.role_id |
| 100 | + where m.visible = '0' and r.status = '0' and ur.user_id = #{userId} | ||
| 100 | </select> | 101 | </select> |
| 101 | 102 | ||
| 102 | <select id="selectMenuById" parameterType="Long" resultMap="SysMenuResult"> | 103 | <select id="selectMenuById" parameterType="Long" resultMap="SysMenuResult"> |
-
请 注册 或 登录 后发表评论