diff --git a/hai-service/src/main/java/com/hai/service/impl/HighOrderServiceImpl.java b/hai-service/src/main/java/com/hai/service/impl/HighOrderServiceImpl.java index bd681d30..3df1b53b 100644 --- a/hai-service/src/main/java/com/hai/service/impl/HighOrderServiceImpl.java +++ b/hai-service/src/main/java/com/hai/service/impl/HighOrderServiceImpl.java @@ -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);