From a4b71278c08336d243f8ca4e1c85684486cdb945 Mon Sep 17 00:00:00 2001 From: 再见亦是路人 <15252114322@163.com> Date: 星期三, 21 四月 2021 15:56:00 +0800 Subject: [PATCH] 修改用户密码获取失败 --- ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDeptServiceImpl.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDeptServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDeptServiceImpl.java index e554c00..98616e8 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDeptServiceImpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDeptServiceImpl.java @@ -106,7 +106,7 @@ */ @Override public List<Integer> selectDeptListByRoleId(Long roleId) { - SysRole role = roleMapper.selectRoleById(roleId); + SysRole role = roleMapper.selectById(roleId); return baseMapper.selectDeptListByRoleId(roleId, role.isDeptCheckStrictly()); } -- Gitblit v1.9.3