Commit f05ead72 authored by hongguangwu's avatar hongguangwu

1.7.20-非扣税银企

parent 96fc74b9
...@@ -19,6 +19,7 @@ import com.icbc.api.response.MybankEnterprisePayQpayentResponseV1; ...@@ -19,6 +19,7 @@ import com.icbc.api.response.MybankEnterprisePayQpayentResponseV1;
import com.icbc.api.utils.IcbcSignature; import com.icbc.api.utils.IcbcSignature;
import com.icbc.api.utils.WebUtils; import com.icbc.api.utils.WebUtils;
import com.jcraft.jsch.*; import com.jcraft.jsch.*;
import com.yifu.cloud.plus.v1.ekp.config.IcbcConfigProperties;
import com.yifu.cloud.plus.v1.ekp.config.IcbcIssueConfigProperties; import com.yifu.cloud.plus.v1.ekp.config.IcbcIssueConfigProperties;
import com.yifu.cloud.plus.v1.ekp.entity.*; import com.yifu.cloud.plus.v1.ekp.entity.*;
import com.yifu.cloud.plus.v1.ekp.mapper.EkpSocialInfoMapper; import com.yifu.cloud.plus.v1.ekp.mapper.EkpSocialInfoMapper;
...@@ -74,6 +75,9 @@ public class IcbcTransactionFlowIssueServiceImpl extends ServiceImpl<EkpSocialIn ...@@ -74,6 +75,9 @@ public class IcbcTransactionFlowIssueServiceImpl extends ServiceImpl<EkpSocialIn
@Autowired @Autowired
private IcbcIssueConfigProperties icbcConfigProperties; private IcbcIssueConfigProperties icbcConfigProperties;
@Autowired
private IcbcConfigProperties noTaxIcbcConfigProperties;
@Autowired @Autowired
private IcbcTransactionFlowQueryService icbcTransactionFlowQueryService; private IcbcTransactionFlowQueryService icbcTransactionFlowQueryService;
@Autowired @Autowired
...@@ -1291,17 +1295,17 @@ public class IcbcTransactionFlowIssueServiceImpl extends ServiceImpl<EkpSocialIn ...@@ -1291,17 +1295,17 @@ public class IcbcTransactionFlowIssueServiceImpl extends ServiceImpl<EkpSocialIn
String tranTime = currentTime.format(timeFormatter); String tranTime = currentTime.format(timeFormatter);
String tranDate = LocalDate.now().format(DateTimeFormatter.ofPattern("yyyyMMdd")); String tranDate = LocalDate.now().format(DateTimeFormatter.ofPattern("yyyyMMdd"));
// 初始化工行客户端 // 初始化工行客户端
DefaultIcbcClient client = new DefaultIcbcClient(icbcConfigProperties.getAppId(), DefaultIcbcClient client = new DefaultIcbcClient(noTaxIcbcConfigProperties.getAppId(),
IcbcConstants.SIGN_TYPE_CA_SM_ICBC, IcbcConstants.SIGN_TYPE_CA_SM_ICBC,
icbcConfigProperties.getAppPrivateKey(), noTaxIcbcConfigProperties.getAppPrivateKey(),
IcbcConstants.CHARSET_UTF8, IcbcConstants.CHARSET_UTF8,
IcbcConstants.FORMAT_JSON, IcbcConstants.FORMAT_JSON,
null, null,
null, null,
null, null,
icbcConfigProperties.getCaSm(), noTaxIcbcConfigProperties.getCaSm(),
null); null);
client.setIcbc_ca(icbcConfigProperties.getCaSmIcbc()); client.setIcbc_ca(noTaxIcbcConfigProperties.getCaSmIcbc());
MybankEnterprisePayQpayentResponseV1 responseV1; MybankEnterprisePayQpayentResponseV1 responseV1;
String title = "转账"; String title = "转账";
......
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