This commit is contained in:
2024-01-22 14:08:32 +08:00
parent bba7c16e35
commit 8706eac512
3 changed files with 4 additions and 4 deletions

View File

@@ -3043,7 +3043,7 @@ public class OrderBasicInfoServiceImpl implements OrderBasicInfoService {
.startMode(dto.getStartMode())
.acquirer(AcquirerEnum.LOCAL.getValue())
.build();
payOrderSuccessCallback(callbackDTO);
payOrderSuccessCallback(callbackDTO); // 白名单直接算支付成功
}
/**
@@ -3409,7 +3409,7 @@ public class OrderBasicInfoServiceImpl implements OrderBasicInfoService {
.startMode(dto.getStartMode())
.acquirer(AcquirerEnum.LOCAL.getValue())
.build();
payOrderSuccessCallback(callbackDTO);
payOrderSuccessCallback(callbackDTO); // 余额支付可以直接调支付回调方法
// 余额支付订单 记录会员交易流水
MemberTransactionRecord record = MemberTransactionRecord.builder()

View File

@@ -168,7 +168,7 @@ public abstract class AbstractProgramLogic implements InitializingBean {
* 2. 发送启动充电指令
*/
protected void payOrderSuccessCallback(PayOrderSuccessCallbackDTO dto) {
orderBasicInfoService.payOrderSuccessCallback(dto);
orderBasicInfoService.payOrderSuccessCallback(dto); // AbstractProgramLogic 订单支付成功 支付回调
}
protected List<BalanceDeductionAmountVO> calculateTheBalanceDeductionAmount(String memberId, BigDecimal amount) {