From d338b50afd6504a9676f0a26b3ecbcc844483e7c Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期四, 21 十一月 2024 08:57:08 +0800 Subject: [PATCH] 并发采集 --- 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