diff --git a/fi/shkd-fi-fi/src/main/java/shkd/fi/fi/opplugin/DzpzkOPPlugin.java b/fi/shkd-fi-fi/src/main/java/shkd/fi/fi/opplugin/DzpzkOPPlugin.java index 7a05887..89a6261 100644 --- a/fi/shkd-fi-fi/src/main/java/shkd/fi/fi/opplugin/DzpzkOPPlugin.java +++ b/fi/shkd-fi-fi/src/main/java/shkd/fi/fi/opplugin/DzpzkOPPlugin.java @@ -754,7 +754,7 @@ public class DzpzkOPPlugin extends AbstractOperationServicePlugIn { header.put("Authorization","Bearer "+token); String jsonBody = JSONObject.toJSONString(bizDataBean); String postjson = HttpClientUtils.postjson(url, header, jsonBody); - LogBillUtils.SaveLogBill(url, postjson, AppflgConstant.DZPZK_GUIDANG_URL_NAME, jsonBody); + LogBillUtils.SaveLogBill(url, postjson, AppflgConstant.SHKD_DZPZK_BIZ_URL_NAME, jsonBody); GuidangResponseBean guidangResponseBean = JSONObject.parseObject(postjson, GuidangResponseBean.class); if(null==guidangResponseBean){ this.operationResult.setShowMessage(true); diff --git a/fi/shkd-fi-fi/src/main/java/shkd/fi/fi/task/impl/BizDataImpl.java b/fi/shkd-fi-fi/src/main/java/shkd/fi/fi/task/impl/BizDataImpl.java index de1e7f2..7227453 100644 --- a/fi/shkd-fi-fi/src/main/java/shkd/fi/fi/task/impl/BizDataImpl.java +++ b/fi/shkd-fi-fi/src/main/java/shkd/fi/fi/task/impl/BizDataImpl.java @@ -42,8 +42,8 @@ public class BizDataImpl { //记录同步结果 List gdysList = new java.util.ArrayList(); gdysList.add("3");//凭证已归档待处理 - gdysList.add("4");//凭证归档成功 - gdysList.add("5");//无需归档 + gdysList.add("5");//凭证归档失败 + gdysList.add("6");//无需归档 QFilter filter3 = new QFilter("shkd_dzpzkstatus", QCP.not_in, gdysList);//已归档待处理 StringBuffer result = new StringBuffer(); diff --git a/fi/shkd-fi-fi/src/main/java/shkd/fi/fi/task/impl/GuiDangYuanSuImpl.java b/fi/shkd-fi-fi/src/main/java/shkd/fi/fi/task/impl/GuiDangYuanSuImpl.java index 70325af..a0c6af4 100644 --- a/fi/shkd-fi-fi/src/main/java/shkd/fi/fi/task/impl/GuiDangYuanSuImpl.java +++ b/fi/shkd-fi-fi/src/main/java/shkd/fi/fi/task/impl/GuiDangYuanSuImpl.java @@ -75,6 +75,7 @@ public class GuiDangYuanSuImpl { if(null==ai_daptrackers||ai_daptrackers.length<=0){ result.append("凭证号:").append(billno).append(" 来源单据不是采购入库单或财务应付单,无需同步归档元素"); voucher.set("shkd_gdys_status","3"); + voucher.set("shkd_dzpzkstatus","6"); SaveServiceHelper.save(new DynamicObject[]{voucher}); continue; }