Commit 9bb41c6a authored by 1650842865's avatar 1650842865

撤审完推送SAP

parent c048acff
...@@ -173,6 +173,8 @@ public class SapPurchaseApprovalApplicationImpl extends FlowBroker implements Sa ...@@ -173,6 +173,8 @@ public class SapPurchaseApprovalApplicationImpl extends FlowBroker implements Sa
if (StringUtil.isBlank(sapPurchaseApproval.getRevokeReason())){ if (StringUtil.isBlank(sapPurchaseApproval.getRevokeReason())){
//如果没有撤销原因,才去调用sap接口;撤审通知去sap主动撤审 //如果没有撤销原因,才去调用sap接口;撤审通知去sap主动撤审
sendSapData(sapPurchaseApproval,"Y",""); sendSapData(sapPurchaseApproval,"Y","");
}else {
this.sendSapData(sapPurchaseApproval, "N","0");
} }
} }
......
...@@ -211,6 +211,8 @@ public class SapPurchaseOrderApplicationImpl extends FlowBroker implements SapPu ...@@ -211,6 +211,8 @@ public class SapPurchaseOrderApplicationImpl extends FlowBroker implements SapPu
if (StringUtil.isBlank(sapPurchaseOrder.getRevokeReason())){ if (StringUtil.isBlank(sapPurchaseOrder.getRevokeReason())){
//如果没有撤销原因,才去调用sap接口;撤审通知去sap主动撤审 //如果没有撤销原因,才去调用sap接口;撤审通知去sap主动撤审
this.sendSapDate(save, "Y",""); this.sendSapDate(save, "Y","");
}else {
this.sendSapDate(save, "N","0");
} }
// asyncWriteExecutor.execute(()-> // asyncWriteExecutor.execute(()->
// //创建放行条 // //创建放行条
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment