From 5b9f87937feb53890138dbcd3a94cd883997e950 Mon Sep 17 00:00:00 2001 From: houzhongjian <houzhongyi@126.com> Date: 星期四, 26 十二月 2024 16:32:44 +0800 Subject: [PATCH] 修改菜单报错bug --- iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/service/permission/RoleService.java | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/service/permission/RoleService.java b/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/service/permission/RoleService.java index 3010453..0c9e8d4 100644 --- a/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/service/permission/RoleService.java +++ b/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/service/permission/RoleService.java @@ -121,4 +121,15 @@ */ void validateRoleList(Collection<Long> ids); + /** + * 根据角色名获得角色 + * + * @param name 角色编号 + * @return 角色 + */ + RoleDO getRoleByName(String name); + + void insert(RoleDO role); + + RoleDO getTenantAdminRole(Long tenantId); } -- Gitblit v1.9.3