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