Authored by chaogeng

Merge branch 'test6.9.14' into gray

... ... @@ -2250,16 +2250,15 @@ public class GrassArticleServiceImpl implements IGrassArticleService {
}
List<GrassArticleProduct> grassArticleProductList = grassArticleProductDao.selectByArticleId(id);
if(CollectionUtils.isNotEmpty(grassArticleProductList)){
grassArticleProductList.forEach(product -> {
GrassFindGoods grassFindGoods = new GrassFindGoods();
grassFindGoods.setCreateTime(time);
grassFindGoods.setArticleId(id);
grassFindGoods.setOrderBy(1);
grassFindGoods.setProductType(product.getProductSource());
grassFindGoods.setProductSkn(product.getProductSkn());
grassFindGoods.setUpdateTime(time);
grassFindGoodsDAO.insert(grassFindGoods);
});
GrassArticleProduct product = grassArticleProductList.get(0);
GrassFindGoods grassFindGoods = new GrassFindGoods();
grassFindGoods.setCreateTime(time);
grassFindGoods.setArticleId(id);
grassFindGoods.setOrderBy(1);
grassFindGoods.setProductType(product.getProductSource());
grassFindGoods.setProductSkn(product.getProductSkn());
grassFindGoods.setUpdateTime(time);
grassFindGoodsDAO.insert(grassFindGoods);
//清除发现好物列表缓存 TODO
logger.info("clear findgoodlist, type=1008");
GrassCacheReq cacheReq = new GrassCacheReq();
... ...