From eae0a3a3065dfe950a0aedcfd5bbd8a1d04dda1b Mon Sep 17 00:00:00 2001 From: Sum1Dream <418471657@qq.com> Date: Tue, 6 Apr 2021 23:13:55 +0800 Subject: [PATCH] 1 --- .../main/java/com/bweb/controller/HighCouponController.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hai-bweb/src/main/java/com/bweb/controller/HighCouponController.java b/hai-bweb/src/main/java/com/bweb/controller/HighCouponController.java index 8817b4c9..a0afc764 100644 --- a/hai-bweb/src/main/java/com/bweb/controller/HighCouponController.java +++ b/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 handselListByCoupon = highCouponHandselService.getHandselListByCoupon(highCoupon.getId()); for (HighCouponHandsel handsel : handselListByCoupon) { handsel.setStatus(0); } + coupon.setHandselCouponList(handselListByCoupon); } // 查询商户