diff --git a/hai-service/src/main/java/com/hai/service/impl/HighCouponServiceImpl.java b/hai-service/src/main/java/com/hai/service/impl/HighCouponServiceImpl.java index 2cbe4f05..c0a642cd 100644 --- a/hai-service/src/main/java/com/hai/service/impl/HighCouponServiceImpl.java +++ b/hai-service/src/main/java/com/hai/service/impl/HighCouponServiceImpl.java @@ -286,7 +286,7 @@ public class HighCouponServiceImpl implements HighCouponService { HighCouponModel model = new HighCouponModel(); BeanUtils.copyProperties(highCoupon, model); // 查询有效库存 - model.setSalesCount(highCouponCodeService.getStockCountByCoupon(highCoupon.getId())); + model.setStockCount(highCouponCodeService.getStockCountByCoupon(highCoupon.getId())); // 查询赠送卡卷列表 List coupon = highCouponHandselService.getHandselListByCoupon(highCoupon.getId());