|
|
|
@@ -234,6 +234,14 @@ public class WxCouponServiceImpl implements WxCouponService { |
|
|
|
.collect(Collectors.toList()); |
|
|
|
} |
|
|
|
wxCouponCVo.setMerchantVoList(merchantList); |
|
|
|
if(EnumCouponType.COUPON_GIFT.getCode().equals(wxCouponCVo.getType())){ |
|
|
|
WxCoupon coupon = new WxCoupon(); |
|
|
|
coupon.updateTenantInfo(wxCouponCVo); |
|
|
|
List<Long> longs = JSON.parseArray(wxCouponCVo.getGiftList(), Long.class); |
|
|
|
coupon.setIds(longs); |
|
|
|
wxCouponCVo.setGiftCouponList(wxCouponMapper.findList(coupon)); |
|
|
|
} |
|
|
|
|
|
|
|
return wxCouponCVo; |
|
|
|
} |
|
|
|
|
|
|
|
|