Przeglądaj źródła

1、九恒星支付

wanghaiwu 3 tygodni temu
rodzic
commit
0e7edc465e

+ 8 - 3
code/jyyy/nckd-jimin-jyyy-fi/src/main/java/fi/cas/opplugin/PayBillToolUtil.java

@@ -160,7 +160,8 @@ public class PayBillToolUtil {
                 OP_ACNT_LIST.put(entrydata);
             }
             data.put("OP_ACNT_LIST", OP_ACNT_LIST);
-
+            //结算方式
+            data.put("SETTLE_TYPE", info.get("settletype.name"));
 
             //无用字段
             data.put("CLT_NO", JSONObject.NULL);
@@ -317,6 +318,9 @@ public class PayBillToolUtil {
         //币别
         data.put("CURRENCY", info.get("currency.number"));
 
+        //结算方式
+        data.put("SETTLE_TYPE", info.get("settletype.name"));
+
         //无用字段
         data.put("CLT_NO", JSONObject.NULL);
         data.put("PAY_ACNT_NAME", JSONObject.NULL);
@@ -461,7 +465,7 @@ public class PayBillToolUtil {
             } catch (IOException e) {
                 errMsg.append("单据号:").append(billNum).append(",推送资金系统失败,");
                 errMsg.append("错误号:").append("XXXXXXX");
-                errMsg.append(",错误原因:").append("接口无法连通,未获取到返回结果");
+                errMsg.append(",错误原因:").append("接口异常, " + e.getMessage());
                 errMsg.append("\r\n");
                 return errMsg.toString();
             }
@@ -616,6 +620,7 @@ public class PayBillToolUtil {
              */
             String JKNO = "";
             String settletype = payBillEntity.get("settletype.number") + "";
+
             if (settletype != null && !"".equals(settletype)) {
                 if (settletype.equals("BILL")) {//票据
                     JKNO = "JY-NSTC-T002";
@@ -676,7 +681,7 @@ public class PayBillToolUtil {
             } catch (IOException e) {
                 errMsg.append("单据号:").append(billNum).append(",推送资金系统失败,");
                 errMsg.append("错误号:").append("XXXXXXX");
-                errMsg.append(",错误原因:").append("接口无法连通,未获取到返回结果");
+                errMsg.append(",错误原因:").append("接口异常, " + e.getMessage());
                 errMsg.append("\r\n");
                 return errMsg.toString();
             }