使用优惠券处理
This commit is contained in:
@@ -42,7 +42,6 @@ public class OrderCancelConsumer {
|
||||
buyOrder.setOrderStatus(Constants.ORDER_STATUS_OUT_OF_TIME);
|
||||
//回滚优惠卷
|
||||
if (buyOrder.getCouponId()!=null&&buyOrder.getCouponId()!=0){
|
||||
couponService.rollbackCoupon(buyOrder.getCouponId());
|
||||
buyOrder.setCouponId(null);
|
||||
}
|
||||
//回滚库存
|
||||
|
||||
Reference in New Issue
Block a user