dev-discount
袁野 4 years ago
parent a7c08eb314
commit eae0a3a306
  1. 3
      hai-bweb/src/main/java/com/bweb/controller/HighCouponController.java

@ -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);
} }
// 查询商户 // 查询商户

Loading…
Cancel
Save