'提交代码'

dev-discount
199901012 4 years ago
parent a208e52f1c
commit 0a905d5e2f
  1. 2
      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 highChildOrder = new HighChildOrder();
highChildOrder.setOrderId(highOrder.getId()); highChildOrder.setOrderId(highOrder.getId());
highChildOrder.setGoodsType(1); highChildOrder.setGoodsType(1);

Loading…
Cancel
Save