|
|
@ -1599,7 +1599,9 @@ public class DataStatsServiceImpl implements DataStatsService { |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
List<WorkFactResultDTO> newResult = result.stream().sorted(Comparator.comparing(o -> o.getTopicToIssueTotal() + o.getIssueToProjectTotal() + o.getClosedProjectTotal() + o.getPatrolTotal())).collect(Collectors.toList()); |
|
|
|
List<WorkFactResultDTO> newResult = result.stream().sorted(Comparator.comparing(o -> o.getTopicToIssueTotal() + o.getIssueToProjectTotal() + o.getClosedProjectTotal() + o.getPatrolTotal())) |
|
|
|
.collect(Collectors.toList()); |
|
|
|
Collections.reverse(newResult); |
|
|
|
return newResult; |
|
|
|
} |
|
|
|
|
|
|
|