Commit e425c666 authored by 喻春霖's avatar 喻春霖

fixed

parents 5264bad3 4b2cb2b7
......@@ -92,7 +92,7 @@ public class StatisticsController {
statItem.setCount(count);
dataList.add(statItem);
});
dataList.sort((o1, o2) -> Long.valueOf(o2.getCount() - o1.getCount()).intValue());
dataList.sort((o1, o2) -> Long.valueOf(o1.getCount() - o2.getCount()).intValue());
List<StatItem> result = dataList;
if(topN != null && topN > 0){
if(topN < result.size()){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment