diff --git a/electripper-system/src/main/java/com/ruoyi/system/service/impl/EtOrderServiceImpl.java b/electripper-system/src/main/java/com/ruoyi/system/service/impl/EtOrderServiceImpl.java index 39512cc..725a4d9 100644 --- a/electripper-system/src/main/java/com/ruoyi/system/service/impl/EtOrderServiceImpl.java +++ b/electripper-system/src/main/java/com/ruoyi/system/service/impl/EtOrderServiceImpl.java @@ -647,7 +647,8 @@ public class EtOrderServiceImpl implements IEtOrderService order1.setPayType(ServiceConstants.PAY_TYPE_YJ); order1.setMark(mark); order1.setDepositDeduction(ServiceConstants.IS_DEPOSIT_DEDUCTION); - ChannelVO channelVO = etChannelService.selectSmChannelByChannelId(order.getPayChannel()); + order1.setDepositOrderNo(depositOrder.getOrderNo()); + ChannelVO channelVO = etChannelService.selectSmChannelByChannelId(depositOrder.getPayChannel()); order1.setCost(getCost(channelVO,ridingFee)); int updateEtOrder = etOrderMapper.updateEtOrder(order1); if(updateEtOrder == 0){