|
|
@@ -227,6 +227,9 @@ public class WxCouponServiceImpl implements WxCouponService { |
|
|
@Override |
|
|
@Override |
|
|
public WxCouponCVo getVoById(Long id,String tenantId) { |
|
|
public WxCouponCVo getVoById(Long id,String tenantId) { |
|
|
WxCouponCVo wxCouponCVo = wxCouponMapper.findVoDetail(id,tenantId); |
|
|
WxCouponCVo wxCouponCVo = wxCouponMapper.findVoDetail(id,tenantId); |
|
|
|
|
|
if(wxCouponCVo == null){ |
|
|
|
|
|
return null; |
|
|
|
|
|
} |
|
|
List<WxMerchantVo> merchantList = wxCouponCVo.getMerchantVoList(); |
|
|
List<WxMerchantVo> merchantList = wxCouponCVo.getMerchantVoList(); |
|
|
if (merchantList != null) { |
|
|
if (merchantList != null) { |
|
|
merchantList = merchantList.stream().filter( |
|
|
merchantList = merchantList.stream().filter( |
|
|
|