|
|
@@ -378,7 +378,7 @@ public class ContentPlatformVideoJob {
|
|
|
Map<Long, Double> channelVideoScoreMap = videoIdTypeChannelScoreMap.getOrDefault(type, new HashMap<>())
|
|
|
.getOrDefault(channel, new HashMap<>());
|
|
|
Double platformScore = video.getScore();
|
|
|
- Double channelRate = channel.equals("sum") ? 0.0 : channelVideoScoreMap.get(video.getVideoId());
|
|
|
+ Double channelRate = "sum".equals(channel) ? 0.0 : channelVideoScoreMap.get(video.getVideoId());
|
|
|
Double typeRate = typeVideoScoreMap.get(video.getVideoId());
|
|
|
Double recommendScore = calRecommendScore(platformScore, channelRate, typeRate);
|
|
|
ContentPlatformVideoDataStatAgg agg = new ContentPlatformVideoDataStatAgg();
|