From 74a8adaece3d17a9e2cc9b0d532dd305cd860b0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E9=B9=8F?= <845871400@qq.com> Date: Sun, 29 Sep 2024 15:37:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BD=92=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/shkd/fi/fi/opplugin/DzpzkOPPlugin.java | 2 +- .../src/main/java/shkd/fi/fi/task/impl/BizDataImpl.java | 4 ++-- .../src/main/java/shkd/fi/fi/task/impl/GuiDangYuanSuImpl.java | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) 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; }