|
@@ -2738,7 +2738,8 @@ public class DataDashboardService {
|
|
|
}
|
|
|
String contentId = rootSourceIdItemList.get(0).getContentId();
|
|
|
List<LongArticleCrawlerVideo> crawlerVideoList = longArticleCrawlerVideoMap.get(contentId);
|
|
|
- List<String> videoOssPaths = crawlerVideoList.stream().map(LongArticleCrawlerVideo::getVideoOssPath).collect(Collectors.toList());
|
|
|
+ List<String> videoOssPaths = crawlerVideoList.stream().map(LongArticleCrawlerVideo::getVideoOssPath)
|
|
|
+ .filter(StringUtils::hasText).collect(Collectors.toList());
|
|
|
List<PublishSingleVideoSource> singleVideoSources = videoPoolRepository.getByVideoOssPathIn(videoOssPaths);
|
|
|
if (CollectionUtil.isNotEmpty(singleVideoSources)) {
|
|
|
isVideo = true;
|