cbs8 插件

This commit is contained in:
xiang2lin 2024-06-19 16:56:21 +08:00
parent dd47f23b8b
commit 642986b94a
2 changed files with 5 additions and 5 deletions

View File

@ -97,7 +97,7 @@ public class PayApplyPluginInitializer extends PluginBaseEntity {
@Override @Override
public JsonResultEntity executeBusiness(JSONObject requestJson) throws Exception { public JsonResultEntity executeBusiness(JSONObject requestJson) throws Exception {
//支付申请 //支付申请
//cbsPluginService.applyPay(requestJson); // cbsPluginService.applyPay(requestJson);
return null; return null;
} }
} }

View File

@ -66,9 +66,9 @@ public class CbsPluginServiceImpl implements ICbsPluginService {
public void applyPay(JSONObject requestJson) throws Exception{ public void applyPay(JSONObject requestJson) throws Exception{
//查询待支付的列表 //查询待支付的列表
PaymentEntity paymentEntity = new PaymentEntity(); PaymentEntity paymentEntity = new PaymentEntity();
paymentEntity.setDataSourceCode(""); paymentEntity.setDataSourceCode(oa_data_source_code);
//List<PaymentEntity> paymentList = paymentService.queryUnpaid(paymentEntity); List<PaymentEntity> paymentList = paymentService.queryUnpaid(paymentEntity);
List<PaymentEntity> paymentList = new ArrayList<>(); /* List<PaymentEntity> paymentList = new ArrayList<>();
paymentEntity.setReferenceNum("CL202406140001"); paymentEntity.setReferenceNum("CL202406140001");
paymentEntity.setPayAccount("655905707410000"); paymentEntity.setPayAccount("655905707410000");
paymentEntity.setPayBankName(""); paymentEntity.setPayBankName("");
@ -82,7 +82,7 @@ public class CbsPluginServiceImpl implements ICbsPluginService {
paymentEntity.setBusType("202"); paymentEntity.setBusType("202");
paymentEntity.setCurrency("10"); paymentEntity.setCurrency("10");
paymentEntity.setPurpose("测试用途"); paymentEntity.setPurpose("测试用途");
paymentList.add(paymentEntity); paymentList.add(paymentEntity);*/
if (CollectionUtils.isNotEmpty(paymentList)){ if (CollectionUtils.isNotEmpty(paymentList)){
for (PaymentEntity pay : paymentList) { for (PaymentEntity pay : paymentList) {
//调用支付申请接口 //调用支付申请接口