|
|
|
@ -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.setOrderId(highOrder.getId()); |
|
|
|
|
highChildOrder.setGoodsType(1); |
|
|
|
|