This commit is contained in:
parent
dfc24192a0
commit
74a8adaece
|
@ -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);
|
||||
|
|
|
@ -42,8 +42,8 @@ public class BizDataImpl {
|
|||
//记录同步结果
|
||||
List<String> gdysList = new java.util.ArrayList<String>();
|
||||
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();
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue