Browse Source

发票接口

lishiqiang 13 hours ago
parent
commit
d6263748d9

+ 2 - 2
ship-module-trade/ship-module-trade-biz/src/main/java/com/yc/ship/module/trade/service/invoice/impl/InvoiceGroupServiceImpl.java

@@ -522,8 +522,8 @@ public class InvoiceGroupServiceImpl implements InvoiceGroupService {
         String secretKey = configApi.getPlatformConfigValueByKey("newinvoice.group.secretkey");
         String msg;
         try {
-//            JSONObject reqBody = this.buildRequestParam(invoiceList, type, "", remark);
-            JSONObject reqBody = this.buildRequestParamNew(invoiceList, type, "", remark);
+            JSONObject reqBody = this.buildRequestParam(invoiceList, type, "", remark);
+//            JSONObject reqBody = this.buildRequestParamNew(invoiceList, type, "", remark);//折扣行
             String batchNo = reqBody.getJSONObject("DDPCXX").getStr("DDQQPCH");
             log.error("发票开具请求参数reqBody={},secretKey={}", reqBody,secretKey);
             JSONObject resObj = this.doRequest(reqBody, method, secretKey);