'提交代码'

dev-discount
199901012 4 years ago
parent f2df45094c
commit a7c08eb314
  1. 8
      hai-bweb/src/main/java/com/bweb/controller/HighCouponController.java

@ -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) {

Loading…
Cancel
Save