|
@@ -144,6 +144,7 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService { |
|
@@ -144,6 +144,7 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService { |
144
|
case WAITING_PAY:
|
144
|
case WAITING_PAY:
|
145
|
targetStatus = OrderStatus.BUYER_CANCEL_BEFORE_PAY;
|
145
|
targetStatus = OrderStatus.BUYER_CANCEL_BEFORE_PAY;
|
146
|
cancelBeforePaid(orderRequest, node, expectStatus, targetStatus);
|
146
|
cancelBeforePaid(orderRequest, node, expectStatus, targetStatus);
|
|
|
147
|
+ buyerOrderCancelService.refundCouponIfNeed(buyerOrder.getUid(), buyerOrder.getOrderCode());
|
147
|
break;
|
148
|
break;
|
148
|
case HAS_PAYED:
|
149
|
case HAS_PAYED:
|
149
|
BuyerOrderGoods bog = buyerOrderGoodsMapper.selectByOrderCode(orderRequest.getUid(),
|
150
|
BuyerOrderGoods bog = buyerOrderGoodsMapper.selectByOrderCode(orderRequest.getUid(),
|