|
@@ -2810,7 +2810,7 @@ public class DataDashboardService {
|
|
|
}
|
|
|
// 判断是否冷启视频内容池
|
|
|
String contentId = rootSourceIdItemList.get(0).getContentId();
|
|
|
- List<LongArticleCrawlerVideo> crawlerVideoList = longArticleCrawlerVideoMap.get(contentId);
|
|
|
+ List<LongArticleCrawlerVideo> crawlerVideoList = longArticleCrawlerVideoMap.getOrDefault(contentId, new ArrayList<>());
|
|
|
List<String> videoOssPaths = crawlerVideoList.stream().map(LongArticleCrawlerVideo::getVideoOssPath)
|
|
|
.filter(StringUtils::hasText).collect(Collectors.toList());
|
|
|
List<PublishSingleVideoSource> singleVideoSources = new ArrayList<>();
|