阅览权限岗位和部门取并集

This commit is contained in:
lihongyu 2022-10-18 14:20:36 +08:00
parent 3351d6daff
commit 432e000c40

View File

@ -3931,7 +3931,7 @@ public class PALRepositoryQueryAPIManager {
} }
// 职级为空时 // 职级为空时
} else if (UtilString.isNotEmpty(orgPerm) && UtilString.isNotEmpty(postPerm) && UtilString.isEmpty(levelPerm)) { } else if (UtilString.isNotEmpty(orgPerm) && UtilString.isNotEmpty(postPerm) && UtilString.isEmpty(levelPerm)) {
if (getOrgPerm(orgPerm, uc) && getPostPerm(postPerm, uc)) { if (getOrgPerm(orgPerm, uc) || getPostPerm(postPerm, uc)) {
return true; return true;
} }
// 岗位为空时 // 岗位为空时