mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
记录支付机构
This commit is contained in:
@@ -8,6 +8,7 @@ import com.google.common.collect.Maps;
|
||||
import com.jsowell.common.enums.MemberWalletEnum;
|
||||
import com.jsowell.common.enums.ykc.ActionTypeEnum;
|
||||
import com.jsowell.common.enums.ykc.PayModeEnum;
|
||||
import com.jsowell.common.enums.ykc.PaymentInstitutionsEnum;
|
||||
import com.jsowell.common.enums.ykc.ScenarioEnum;
|
||||
import com.jsowell.common.util.DateUtils;
|
||||
import com.jsowell.common.util.StringUtils;
|
||||
@@ -321,13 +322,14 @@ public class WechatPayServiceImpl implements WechatPayService {
|
||||
.build();
|
||||
wxpayRefundCallbackService.insertSelective(record);
|
||||
|
||||
// 余额支付订单 记录会员交易流水
|
||||
// 记录会员交易流水
|
||||
MemberTransactionRecord memberTransactionRecord = MemberTransactionRecord.builder()
|
||||
.orderCode(orderCode)
|
||||
.scenarioType(wxpayCallbackRecord.getPayScenario())
|
||||
.memberId(memberId)
|
||||
.actionType(ActionTypeEnum.REVERSE.getValue())
|
||||
.payMode(PayModeEnum.PAYMENT_OF_WECHATPAY.getValue())
|
||||
.paymentInstitutions(PaymentInstitutionsEnum.WECHAT_PAY.getValue())
|
||||
.amount(refundAmount) // 记录会员交易流水,单位元
|
||||
.outTradeNo(out_trade_no)
|
||||
.transactionId(transaction_id)
|
||||
|
||||
Reference in New Issue
Block a user