|
|
@ -239,6 +239,14 @@ public class HighCouponController { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 如果不赠送了
|
|
|
|
|
|
|
|
if (highCoupon.getIsPresent() == false) { |
|
|
|
|
|
|
|
List<HighCouponHandselModel> handselListByCoupon = highCouponHandselService.getHandselListByCoupon(highCoupon.getId()); |
|
|
|
|
|
|
|
for (HighCouponHandsel handsel : handselListByCoupon) { |
|
|
|
|
|
|
|
handsel.setStatus(0); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// 查询商户
|
|
|
|
// 查询商户
|
|
|
|
HighMerchant merchant = highMerchantService.getMerchantById(highCoupon.getMerchantId()); |
|
|
|
HighMerchant merchant = highMerchantService.getMerchantById(highCoupon.getMerchantId()); |
|
|
|
if (merchant == null) { |
|
|
|
if (merchant == null) { |
|
|
|