...
|
...
|
@@ -149,6 +149,10 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService { |
|
|
@Autowired
|
|
|
private BuyerOrderGoodsMapperSupport buyerOrderGoodsMapperSupport;
|
|
|
|
|
|
|
|
|
@Autowired
|
|
|
FastDeliveryProxyService fastDeliveryProxyService;
|
|
|
|
|
|
/**
|
|
|
* 提交订单
|
|
|
* @param orderRequest
|
...
|
...
|
@@ -582,6 +586,11 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService { |
|
|
// 恢复product skup的库存
|
|
|
boolean isReturnSuccess = productProxyService.returnStorage(skup);
|
|
|
|
|
|
// 急速发货的场合,释放库存
|
|
|
if (fastDeliveryProxyService.isFastDeliveryGoods(skup)){
|
|
|
fastDeliveryProxyService.cancel(skup);
|
|
|
}
|
|
|
|
|
|
//如有用券则退券
|
|
|
buyerOrderCancelService.asyncRefundCoupon(buyerUid, orderCode, BuyerRefundCouponEvent.BizCase.PAY_TIME_OUT);
|
|
|
|
...
|
...
|
|