This commit is contained in:
wangw 2025-09-29 16:49:23 +08:00
parent 14aadbc0dc
commit d3b4eaa4b9
1 changed files with 4 additions and 1 deletions

View File

@ -43,6 +43,7 @@ import com.czg.service.RedisService;
import com.czg.service.market.service.impl.MemberOrderServiceImpl;
import com.czg.service.order.dto.*;
import com.czg.service.order.enums.OrderStatusEnums;
import com.czg.service.order.mapper.OrderPaymentMapper;
import com.czg.service.order.service.PayService;
import com.czg.system.enums.SysParamCodeEnum;
import com.czg.system.service.SysParamsService;
@ -99,6 +100,8 @@ public class PayServiceImpl implements PayService {
@Resource
private OrderPaymentService paymentService;
@Resource
private OrderPaymentMapper paymentMapper;
@Resource
private CreditBuyerOrderService buyerOrderService;
@Resource
private RedisService redisService;
@ -829,7 +832,7 @@ public class PayServiceImpl implements PayService {
private Long initOrderPayment(OrderPayment payment) {
paymentService.save(payment);
paymentMapper.insert(payment);
return payment.getId();
}