From 886ce995aff3f14368661edf9f59fccdcb3bb2a4 Mon Sep 17 00:00:00 2001 From: wugh <328043740@qq.com> Date: 星期一, 21 十二月 2020 11:58:15 +0800 Subject: [PATCH] [bug修复] 解决get请求,如果参数值为false或0等特殊值会导致无法正确传参 --- ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysMenuMapper.java | 5 +++-- 1 files changed, 3 insertions(+), 2 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 ebb2546..773e6e8 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 @@ -59,11 +59,12 @@ /** * 鏍规嵁瑙掕壊ID鏌ヨ鑿滃崟鏍戜俊鎭� - * + * * @param roleId 瑙掕壊ID + * @param menuCheckStrictly 鑿滃崟鏍戦�夋嫨椤规槸鍚﹀叧鑱旀樉绀� * @return 閫変腑鑿滃崟鍒楄〃 */ - public List<Integer> selectMenuListByRoleId(Long roleId); + public List<Integer> selectMenuListByRoleId(@Param("roleId") Long roleId, @Param("menuCheckStrictly") boolean menuCheckStrictly); /** * 鏍规嵁鑿滃崟ID鏌ヨ淇℃伅 -- Gitblit v1.9.3