小组api中添加查询指定roleid的角色信息

This commit is contained in:
anhc 2022-07-05 11:11:39 +08:00
parent 51d735e371
commit b364c72041
2 changed files with 9 additions and 0 deletions

View File

@ -510,6 +510,15 @@ public class CoeCooperationAPIManager {
return new CoeCooperationRoleDao().getCooperationRoleByUser(teamId, userId);
}
/**
* 查询指定id的角色
* @param roleId
* @return
*/
public CoeCooperationRoleModel queryCooperationRole(String roleId) {
return new CoeCooperationRoleDao().getInstance(roleId);
}
/**
* 查询小组下的所有角色
* 按照管理员/设计人员/浏览人员+剩余角色创建时间倒序排序