From 64ce9daf8855edebf8c77b40095a4ea597331cd9 Mon Sep 17 00:00:00 2001 From: zlyx <1242874891@qq.com> Date: 星期二, 30 八月 2022 11:44:44 +0800 Subject: [PATCH] fix 修正 spring cache 获取在线用户失败问题, 回退为使用 redis 工具缓存 ; --- ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysMenuMapper.java | 8 ++++++++ 1 files changed, 8 insertions(+), 0 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 8844f27..0043903 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 @@ -41,6 +41,14 @@ List<String> selectMenuPermsByUserId(Long userId); /** + * 鏍规嵁瑙掕壊ID鏌ヨ鏉冮檺 + * + * @param roleId 瑙掕壊ID + * @return 鏉冮檺鍒楄〃 + */ + List<String> selectMenuPermsByRoleId(Long roleId); + + /** * 鏍规嵁鐢ㄦ埛ID鏌ヨ鑿滃崟 * * @return 鑿滃崟鍒楄〃 -- Gitblit v1.9.3