|
|
@ -240,11 +240,12 @@ public class HighCouponController { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// 如果不赠送了
|
|
|
|
// 如果不赠送了
|
|
|
|
if (highCoupon.getIsPresent() == false) { |
|
|
|
if (!highCoupon.getIsPresent()) { |
|
|
|
List<HighCouponHandselModel> handselListByCoupon = highCouponHandselService.getHandselListByCoupon(highCoupon.getId()); |
|
|
|
List<HighCouponHandselModel> handselListByCoupon = highCouponHandselService.getHandselListByCoupon(highCoupon.getId()); |
|
|
|
for (HighCouponHandsel handsel : handselListByCoupon) { |
|
|
|
for (HighCouponHandsel handsel : handselListByCoupon) { |
|
|
|
handsel.setStatus(0); |
|
|
|
handsel.setStatus(0); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
coupon.setHandselCouponList(handselListByCoupon); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// 查询商户
|
|
|
|
// 查询商户
|
|
|
|