Commit 8361edc4 by songyinghui

feat: 素材关联商品过滤后台配置的状态

parent 0a171ddc
......@@ -133,7 +133,9 @@ public class ContentMaterialController {
simpleGoodsInfoVO.setGoodsImg(temp.getGoodsImageUrl());
return simpleGoodsInfoVO;
}).collect(Collectors.toList());
contentMaterialInfoVO.setContentGoodsList(goodsInfoVOS);
if (CollectionUtils.isNotEmpty(goodsInfoVOS)) {
contentMaterialInfoVO.setContentGoodsList(goodsInfoVOS);
}
}
contentMaterialInfoVO.setPublishTime(item.getPublishBeginTime());
if (StringUtils.isNotBlank(item.getMaterialImageUrls())) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment