|
@@ -532,6 +532,9 @@ public class ArticleService {
|
|
|
return item;
|
|
|
}).collect(Collectors.toList());
|
|
|
channelContentIds = channelContentIds.stream().filter(o -> !articleCategoryIds.contains(o)).collect(Collectors.toList());
|
|
|
+ if (CollectionUtils.isEmpty(channelContentIds)) {
|
|
|
+ return Collections.emptyList();
|
|
|
+ }
|
|
|
List<CrawlerContent> crawlerContentList = aigcBaseMapper.getCrawlerContentByChannelContentIdIn(channelContentIds);
|
|
|
Map<String, CrawlerContent> map = crawlerContentList.stream().collect(Collectors.toMap(CrawlerContent::getChannelContentId, Function.identity()));
|
|
|
long now = System.currentTimeMillis();
|