权限范围调整,选择为全集团时,将申请人所在单位id存储到组织权限字段内
This commit is contained in:
parent
af03e6f7d2
commit
eae0d30fb9
Binary file not shown.
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user