This commit is contained in:
刘鹏 2024-09-29 15:37:27 +08:00
parent dfc24192a0
commit 74a8adaece
3 changed files with 4 additions and 3 deletions

View File

@ -754,7 +754,7 @@ public class DzpzkOPPlugin extends AbstractOperationServicePlugIn {
header.put("Authorization","Bearer "+token); header.put("Authorization","Bearer "+token);
String jsonBody = JSONObject.toJSONString(bizDataBean); String jsonBody = JSONObject.toJSONString(bizDataBean);
String postjson = HttpClientUtils.postjson(url, header, jsonBody); 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); GuidangResponseBean guidangResponseBean = JSONObject.parseObject(postjson, GuidangResponseBean.class);
if(null==guidangResponseBean){ if(null==guidangResponseBean){
this.operationResult.setShowMessage(true); this.operationResult.setShowMessage(true);

View File

@ -42,8 +42,8 @@ public class BizDataImpl {
//记录同步结果 //记录同步结果
List<String> gdysList = new java.util.ArrayList<String>(); List<String> gdysList = new java.util.ArrayList<String>();
gdysList.add("3");//凭证已归档待处理 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);//已归档待处理 QFilter filter3 = new QFilter("shkd_dzpzkstatus", QCP.not_in, gdysList);//已归档待处理
StringBuffer result = new StringBuffer(); StringBuffer result = new StringBuffer();

View File

@ -75,6 +75,7 @@ public class GuiDangYuanSuImpl {
if(null==ai_daptrackers||ai_daptrackers.length<=0){ if(null==ai_daptrackers||ai_daptrackers.length<=0){
result.append("凭证号:").append(billno).append(" 来源单据不是采购入库单或财务应付单,无需同步归档元素"); result.append("凭证号:").append(billno).append(" 来源单据不是采购入库单或财务应付单,无需同步归档元素");
voucher.set("shkd_gdys_status","3"); voucher.set("shkd_gdys_status","3");
voucher.set("shkd_dzpzkstatus","6");
SaveServiceHelper.save(new DynamicObject[]{voucher}); SaveServiceHelper.save(new DynamicObject[]{voucher});
continue; continue;
} }