|
@@ -40,6 +40,11 @@ public class SynProjectForSAPListPlugin extends AbstractListPlugin implements Pl
|
|
qFilter.and(new QFilter("fisaccounting", QCP.equals, "1"));
|
|
qFilter.and(new QFilter("fisaccounting", QCP.equals, "1"));
|
|
//获取当前组织,将成本信息缓存到Map中
|
|
//获取当前组织,将成本信息缓存到Map中
|
|
Long orgId = RequestContext.get().getOrgId();
|
|
Long orgId = RequestContext.get().getOrgId();
|
|
|
|
+
|
|
|
|
+ if(this.getPageCache().get("verifyOrg") != null){
|
|
|
|
+ orgId = Long.valueOf(this.getPageCache().get("verifyOrg").toString());
|
|
|
|
+ }
|
|
|
|
+
|
|
qFilter.and(new QFilter("id", QCP.equals, orgId));
|
|
qFilter.and(new QFilter("id", QCP.equals, orgId));
|
|
DynamicObject orgDy = BusinessDataServiceHelper.loadSingle("bos_org", "id, number", qFilter.toArray());
|
|
DynamicObject orgDy = BusinessDataServiceHelper.loadSingle("bos_org", "id, number", qFilter.toArray());
|
|
if(orgDy==null){
|
|
if(orgDy==null){
|