From 7c5d64563927e1ba7867b1492f6c4b07d0b50a2e Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期二, 28 二月 2023 19:13:51 +0800 Subject: [PATCH] update 优化 只拦截系统内存在的路径 减少不必要的拦截造成的性能消耗 --- ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysMenuService.java | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysMenuService.java b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysMenuService.java index 1a97b27..4ca909c 100644 --- a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysMenuService.java +++ b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysMenuService.java @@ -66,6 +66,14 @@ List<Long> selectMenuListByRoleId(Long roleId); /** + * 鏍规嵁绉熸埛濂楅ID鏌ヨ鑿滃崟鏍戜俊鎭� + * + * @param packageId 绉熸埛濂楅ID + * @return 閫変腑鑿滃崟鍒楄〃 + */ + List<Long> selectMenuListByPackageId(Long packageId); + + /** * 鏋勫缓鍓嶇璺敱鎵�闇�瑕佺殑鑿滃崟 * * @param menus 鑿滃崟鍒楄〃 -- Gitblit v1.9.3