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

This commit is contained in:
anhc 2022-07-14 17:41:05 +08:00
parent 25276e4184
commit 37abb827d6
2 changed files with 1 additions and 1 deletions

View File

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