成本科目和项目数仓同步逻辑按照接口文档优化

This commit is contained in:
yuxueliang0813 2024-11-03 17:47:45 +08:00
parent 6d46dc5b26
commit 20fde17575
1 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ public class DobeDWprojectTask extends AbstractTask implements Plugin {
response = client.newCall(request).execute(); response = client.newCall(request).execute();
resultData = response.body().string(); resultData = response.body().string();
} catch (IOException e) { } catch (IOException e) {
log.info(String.format("组织对应关系接口异常:%s", e.getMessage())); log.info(String.format("项目接口异常:%s", e.getMessage()));
throw new RuntimeException(e); throw new RuntimeException(e);
} }
json_body = JSON.parseObject(resultData); json_body = JSON.parseObject(resultData);
@ -124,7 +124,7 @@ public class DobeDWprojectTask extends AbstractTask implements Plugin {
} }
projectinfo.set("address", faddress); projectinfo.set("address", faddress);
projectinfo.set("acquiredate", project_getdate); 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("showflag", true);//是否列表显示
projectinfo.set("enable", 1);//是否启用 projectinfo.set("enable", 1);//是否启用
projectinfo.set("islatestversion", true);//是否最新版 projectinfo.set("islatestversion", true);//是否最新版