成本科目和项目数仓同步逻辑按照接口文档优化
This commit is contained in:
parent
6d46dc5b26
commit
20fde17575
|
@ -67,7 +67,7 @@ public class DobeDWprojectTask extends AbstractTask implements Plugin {
|
|||
response = client.newCall(request).execute();
|
||||
resultData = response.body().string();
|
||||
} catch (IOException e) {
|
||||
log.info(String.format("组织对应关系接口异常:%s", e.getMessage()));
|
||||
log.info(String.format("项目接口异常:%s", e.getMessage()));
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
json_body = JSON.parseObject(resultData);
|
||||
|
@ -124,7 +124,7 @@ public class DobeDWprojectTask extends AbstractTask implements Plugin {
|
|||
}
|
||||
projectinfo.set("address", faddress);
|
||||
projectinfo.set("acquiredate", project_getdate);
|
||||
projectinfo.set("billstatus", "A");//单据状态 A保存 B已提交 C已审核
|
||||
// projectinfo.set("billstatus", "A");//单据状态 A保存 B已提交 C已审核
|
||||
projectinfo.set("showflag", true);//是否列表显示
|
||||
projectinfo.set("enable", 1);//是否启用
|
||||
projectinfo.set("islatestversion", true);//是否最新版
|
||||
|
|
Loading…
Reference in New Issue