From 4870d846debeb4f68954727c09bb27eb26e31e4c Mon Sep 17 00:00:00 2001 From: zhangbb Date: Thu, 15 Aug 2019 15:27:37 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=8C=97=E8=B4=A2=E4=BB=98=E6=AC=BE=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E6=8E=A5=E5=8F=A3=E5=9C=B0=E5=9D=80=E6=94=B9=E5=9C=A8?= =?UTF-8?q?A3WEB.xml=E4=B8=AD=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src_cmb/paymentInfoUpdate/UpdatePaymentInfo.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src_cmb/paymentInfoUpdate/UpdatePaymentInfo.java b/src_cmb/paymentInfoUpdate/UpdatePaymentInfo.java index 6b60bd559..bf9ba426f 100644 --- a/src_cmb/paymentInfoUpdate/UpdatePaymentInfo.java +++ b/src_cmb/paymentInfoUpdate/UpdatePaymentInfo.java @@ -19,14 +19,16 @@ import com.amarsoft.are.jbo.JBOException; import com.amarsoft.are.jbo.JBOFactory; import com.amarsoft.are.jbo.JBOTransaction; import com.amarsoft.are.util.StringFunction; +import com.amarsoft.awe.Configure; import com.tenwa.reckon.util.Conn; public class UpdatePaymentInfo { private String Ids; - public String action(List> requests) { + public String action(List> requests) throws Exception { String resulst="FAIL"; JBOTransaction bcLogs = null; - String url= "http://219.141.202.98:8000/UpdateStatusService/NFS.Business.UpdateStatusService.ServicesImpl.UpdateStatus.svc"; + Configure config = Configure.getInstance(); + String url = config.getConfigure("BC_URL") ; IUpdateStatusProxy Iudsp = new IUpdateStatusProxy(url); Request request = new Request(); List requestList = new ArrayList(); @@ -114,7 +116,7 @@ public class UpdatePaymentInfo { } return resulst; } - public String requestAndAction (JBOTransaction tx){ + public String requestAndAction (JBOTransaction tx) throws Exception{ Conn conn = new Conn(tx); String sql = "select project_no,customername,certid,fact_money from BC_PAY_INFO_LOG where ID in(?)"; List> requests = null;