|
@@ -47,6 +47,7 @@ public class RankV5Strategy implements RankStrategy {
|
|
|
List<RankItem> items = CommonCollectionUtils.toList(param.getContents(), c -> {
|
|
|
RankItem item = new RankItem();
|
|
|
item.setContent(c);
|
|
|
+ c.setScoreMap(scoreMap.get(c.getId()));
|
|
|
item.setScoreMap(scoreMap.get(c.getId()));
|
|
|
double score;
|
|
|
if (contentPools[0].equals(item.getContent().getContentPoolType())
|
|
@@ -64,6 +65,7 @@ public class RankV5Strategy implements RankStrategy {
|
|
|
+ item.getScore(PublishTimesStrategy.class.getSimpleName())
|
|
|
+ item.getScore(FlowCtlDecreaseStrategy.class.getSimpleName());
|
|
|
}
|
|
|
+ c.setScore(score);
|
|
|
item.setScore(score);
|
|
|
return item;
|
|
|
});
|