From df99e46312fdd5ee830f1451e478f6658e09f9ed Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期一, 16 十二月 2024 13:41:41 +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