Browse Source

Merge branch 'wyp/1101-export-fix' of Server/long-article-recommend into master

wangyunpeng 8 tháng trước cách đây
mục cha
commit
66d194f6f2

+ 1 - 0
long-article-recommend-service/src/main/java/com/tzld/longarticle/recommend/server/service/recommend/DataDashboardService.java

@@ -189,6 +189,7 @@ public class DataDashboardService {
         }
         log.info("newSortStrategyData publishContents finish");
         Map<String, Map<String, Map<Long, PublishContent>>> publishContentMap = publishContents.stream()
+                .filter(o -> Objects.nonNull(o.getPublishTimestamp()))
                 .sorted(Comparator.comparingLong(PublishContent::getPublishTimestamp)).collect(
                         Collectors.groupingBy(PublishContent::getPublishAccountId,
                                 Collectors.groupingBy(PublishContent::getTitle,