From 80aa636348fd0d3ad62e15563c01414c4c3b2f48 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期五, 17 二月 2023 17:56:03 +0800 Subject: [PATCH] fix 修复 关闭租户导致找不到配置类 无法启动问题 --- ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysRoleServiceImpl.java | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysRoleServiceImpl.java b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysRoleServiceImpl.java index a04f81f..1e1a8d7 100644 --- a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysRoleServiceImpl.java +++ b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysRoleServiceImpl.java @@ -234,6 +234,7 @@ SysRole role = BeanUtil.toBean(bo, SysRole.class); // 鏂板瑙掕壊淇℃伅 baseMapper.insert(role); + bo.setRoleId(role.getRoleId()); return insertRoleMenu(bo); } -- Gitblit v1.9.3