...
|
...
|
@@ -301,6 +301,10 @@ public class GrassArticleServiceImpl implements IGrassArticleService{ |
|
|
GrassArticle grassArticle = new GrassArticle();
|
|
|
grassArticle.setId(req.getArticleId());
|
|
|
if(isRecommend !=null){
|
|
|
if(isRecommend == 0){
|
|
|
grassArticle.setIsTop(0);
|
|
|
grassArticle.setTopTime(0L);
|
|
|
}
|
|
|
grassArticle.setIsRecommend(isRecommend);
|
|
|
grassArticle.setRecommendTime(System.currentTimeMillis());
|
|
|
}
|
...
|
...
|
|