Ver Fonte

Merge branch '20250623-wyp-fix' of Server/growth-manager into master

wangyunpeng há 2 semanas atrás
pai
commit
af46fb827b

+ 1 - 0
api-module/src/main/java/com/tzld/piaoquan/api/job/ContentPlatformDatastatJob.java

@@ -687,6 +687,7 @@ public class ContentPlatformDatastatJob {
                     .collect(Collectors.toList());
             List<ContentPlatformQwDataStatReplyTotal> channelScoreList = dataStatMapperExt.getQwTotalDatastatReplyScoreList(dt, channels);
             Map<String, Double> channelScoreMap = channelScoreList.stream()
+                    .filter(o -> Objects.nonNull(o.getScore()))
                     .collect(Collectors.toMap(ContentPlatformQwDataStatReplyTotal::getChannel,
                             ContentPlatformQwDataStatReplyTotal::getScore, (a, b) -> a));
             for (ContentPlatformQwDataStatReplyTotal item : saveList) {