|
|
@@ -468,7 +468,10 @@ public class RecallService implements ApplicationContextAware {
|
|
|
Map<String, Map<String, Article>> firstIndexHisArticleMap = firstIndexHisArticleList.stream()
|
|
|
.collect(Collectors.groupingBy(Article::getGhId, Collectors.toMap(Article::getAppMsgId, o -> o, (a, b) -> a)));
|
|
|
// 获取发布账号 位置历史均值
|
|
|
- List<AccountAvgInfo> accountAvgInfoList = crawlerBaseMapper.getAllByGhIdIn(ghIds);
|
|
|
+ List<AccountAvgInfo> accountAvgInfoList = new ArrayList<>();
|
|
|
+ if (CollectionUtils.isNotEmpty(ghIds)) {
|
|
|
+ accountAvgInfoList = crawlerBaseMapper.getAllByGhIdIn(ghIds);
|
|
|
+ }
|
|
|
Map<String, Map<String, Map<String, AccountAvgInfo>>> accountAvgInfoIndexMap = accountAvgInfoList.stream()
|
|
|
.filter(o -> Objects.nonNull(o.getReadAvg()) && o.getReadAvg() > 0 && o.getFans() > 1000)
|
|
|
.collect(Collectors.groupingBy(AccountAvgInfo::getGhId, Collectors.groupingBy(AccountAvgInfo::getUpdateTime,
|