|
@@ -18,6 +18,7 @@ import com.tzld.longarticle.recommend.server.repository.crawler.ArticleDetailInf
|
|
|
import com.tzld.longarticle.recommend.server.repository.crawler.ArticleRepository;
|
|
|
import com.tzld.longarticle.recommend.server.service.AccountIndexAvgViewCountService;
|
|
|
import com.tzld.longarticle.recommend.server.service.recall.strategy.DefaultRecallStrategy;
|
|
|
+import com.tzld.longarticle.recommend.server.service.score.ScoreStrategy;
|
|
|
import com.tzld.longarticle.recommend.server.util.CommonCollectionUtils;
|
|
|
import com.tzld.longarticle.recommend.server.util.DateUtils;
|
|
|
import com.tzld.longarticle.recommend.server.util.JSONUtils;
|
|
@@ -276,6 +277,9 @@ public class RecallService implements ApplicationContextAware {
|
|
|
}
|
|
|
content.setHisPublishArticleList(new ArrayList<>());
|
|
|
for (Article hisArticle : hisArticles) {
|
|
|
+ if (ScoreStrategy.hisContentLateFilter(hisArticle.getUpdateTime())) {
|
|
|
+ continue;
|
|
|
+ }
|
|
|
ContentHisPublishArticle article = new ContentHisPublishArticle();
|
|
|
BeanUtils.copyProperties(hisArticle, article);
|
|
|
article.setViewCount(hisArticle.getShowViewCount());
|