小组应用获取角色权限方法调整

This commit is contained in:
anhc 2022-07-14 17:39:43 +08:00
parent ee955c8d6a
commit 25276e4184
2 changed files with 1 additions and 1 deletions

View File

@ -1135,7 +1135,7 @@ public class CooperationWeb extends ActionWeb {
//具体文件的操作权限
List<CoeCooperationRolePermModel> rolePermModels = api.queryCooperationRoleDataPermList(teamId, role.getId());
for (CoeCooperationRolePermModel rolePermModel : rolePermModels) {
if (rolePermModel.getActionPerm() == null){
if (rolePermModel.getActionPerm() == null || StringUtils.isEmpty(rolePermModel.getActionPerm())){
dataActionPerm.put(rolePermModel.getPalVersionId(),new ArrayList<>());
continue;
}