|
@@ -127,6 +127,9 @@ public class RolePrivilegeServiceImpl implements RolePrivilegeService {
|
|
|
rootOrgPrivilegeRelationRepo.deleteByRootOrgIdAndGroupId(rootOrgId, privilegeGroupId);
|
|
|
|
|
|
for (Long cur : privilegeIdSet) {
|
|
|
+ if(cur==-1){
|
|
|
+ continue;
|
|
|
+ }
|
|
|
PrivilegeEntity privilegeEntity = GlobalHelper.getPresentEntity(privilegeRepo, cur,
|
|
|
PrivilegeEntity.class);
|
|
|
if (!privilegeEntity.getGroupId().equals(privilegeGroupId)) {
|