|
|
@ -95,7 +95,7 @@ public class HighOrderServiceImpl implements HighOrderService { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// 查询赠送卡卷 是否有库存,没有就不赠送
|
|
|
|
// 查询赠送卡卷 是否有库存,没有就不赠送
|
|
|
|
if (highCouponCodeService.getStockCountByCoupon(coupon.getId()) <= 0) { |
|
|
|
if (highCouponCodeService.getStockCountByCoupon(coupon.getId()) > 0) { |
|
|
|
HighChildOrder highChildOrder = new HighChildOrder(); |
|
|
|
HighChildOrder highChildOrder = new HighChildOrder(); |
|
|
|
highChildOrder.setOrderId(highOrder.getId()); |
|
|
|
highChildOrder.setOrderId(highOrder.getId()); |
|
|
|
highChildOrder.setGoodsType(1); |
|
|
|
highChildOrder.setGoodsType(1); |
|
|
|