权限范围调整,选择为全集团时,将申请人所在单位id存储到组织权限字段内

This commit is contained in:
446052889@qq.com 2022-07-29 17:01:26 +08:00
parent af03e6f7d2
commit eae0d30fb9
2 changed files with 1 additions and 1 deletions

View File

@ -463,7 +463,7 @@ public class PublishExecuteListenerInterfaceImpl extends ExecuteListener impleme
bo.set("PALVERSIONID", verId);
bo.set("PALNAME", name);
bo.set("PERMTYPE", sendScope);
bo.set("ORGPERM", "1".equals(sendScope) ? "" : sendScopeOrg);
bo.set("ORGPERM", "1".equals(sendScope) ? SDK.getORGAPI().getCompanyByUser(applyUser).getId() : sendScopeOrg);
bo.set("POSTPERM", "1".equals(sendScope) ? "" : sendScopePost);
bo.set("LEVELPERM", "1".equals(sendScope) ? "" : sendScopeLevel);
list.add(bo);