退款更改
This commit is contained in:
@@ -17,6 +17,7 @@ import cn.pluss.platform.mapper.*;
|
|||||||
import cn.pluss.platform.openAccount.OpenAccountRecordService;
|
import cn.pluss.platform.openAccount.OpenAccountRecordService;
|
||||||
import cn.pluss.platform.pay.PayService;
|
import cn.pluss.platform.pay.PayService;
|
||||||
import cn.pluss.platform.phoneValidateCode.PhoneValidateCodeService;
|
import cn.pluss.platform.phoneValidateCode.PhoneValidateCodeService;
|
||||||
|
import cn.pluss.platform.sxf.pay.SxfPayService;
|
||||||
import cn.pluss.platform.util.DateUtils;
|
import cn.pluss.platform.util.DateUtils;
|
||||||
import cn.pluss.platform.util.StringUtil;
|
import cn.pluss.platform.util.StringUtil;
|
||||||
import cn.pluss.platform.util.ValidateCodeUtil;
|
import cn.pluss.platform.util.ValidateCodeUtil;
|
||||||
@@ -95,6 +96,9 @@ public class MercOrderDetailServiceImpl extends ServiceImpl<MercOrderDetailMappe
|
|||||||
@Resource
|
@Resource
|
||||||
private OpenAccountRecordService openAccountRecordService;
|
private OpenAccountRecordService openAccountRecordService;
|
||||||
|
|
||||||
|
@Resource
|
||||||
|
private SxfPayService sxfPayService;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 阿里云key
|
* 阿里云key
|
||||||
@@ -264,7 +268,7 @@ public class MercOrderDetailServiceImpl extends ServiceImpl<MercOrderDetailMappe
|
|||||||
case 1:
|
case 1:
|
||||||
MerchantChannelStatus channelInfo = merchantChannelStatusMapper.getByMerchantCode(orderByNo.getMerchantCode(), 1);
|
MerchantChannelStatus channelInfo = merchantChannelStatusMapper.getByMerchantCode(orderByNo.getMerchantCode(), 1);
|
||||||
MsgException.checkNull(channelInfo, "收款商户通道信息异常!");
|
MsgException.checkNull(channelInfo, "收款商户通道信息异常!");
|
||||||
result = ysPayOldService.refundPay(order, channelInfo.getMerchantId());
|
result = sxfPayService.refundPay(order, channelInfo.getMerchantId());
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
case 3:
|
case 3:
|
||||||
|
|||||||
Reference in New Issue
Block a user