From 87c53a049bf9a638a79c2ce651f348df47c35479 Mon Sep 17 00:00:00 2001 From: 若依 <yzz_ivy@163.com> Date: 星期五, 09 九月 2022 09:45:12 +0800 Subject: [PATCH] !574 修复 issue#I5Q2ZO Merge pull request !574 from 捏造的信仰/fix-I5Q2ZO --- ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysMenuMapper.java | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysMenuMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysMenuMapper.java index 773e6e8..f3e2eb9 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysMenuMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysMenuMapper.java @@ -35,6 +35,14 @@ public List<SysMenu> selectMenuListByUserId(SysMenu menu); /** + * 鏍规嵁瑙掕壊ID鏌ヨ鏉冮檺 + * + * @param roleId 瑙掕壊ID + * @return 鏉冮檺鍒楄〃 + */ + public List<String> selectMenuPermsByRoleId(Long roleId); + + /** * 鏍规嵁鐢ㄦ埛ID鏌ヨ鏉冮檺 * * @param userId 鐢ㄦ埛ID @@ -64,7 +72,7 @@ * @param menuCheckStrictly 鑿滃崟鏍戦�夋嫨椤规槸鍚﹀叧鑱旀樉绀� * @return 閫変腑鑿滃崟鍒楄〃 */ - public List<Integer> selectMenuListByRoleId(@Param("roleId") Long roleId, @Param("menuCheckStrictly") boolean menuCheckStrictly); + public List<Long> selectMenuListByRoleId(@Param("roleId") Long roleId, @Param("menuCheckStrictly") boolean menuCheckStrictly); /** * 鏍规嵁鑿滃崟ID鏌ヨ淇℃伅 -- Gitblit v1.9.3