Commit 68acefa0 authored by wzp's avatar wzp

修改bug

parent 5c3095a7
......@@ -262,7 +262,9 @@ public class TBoardStatisticController extends BaseController {
}
List<TBoardPlayTrend> list = page.getRecords();
list.sort(Comparator.comparing(TBoardPlayTrend::getPlayNumber,Comparator.reverseOrder()).thenComparing(TBoardPlayTrend::getPlayDate,Comparator.reverseOrder()));
list=list.subList(0,10);
if (list.size()>=10) {
list = list.subList(0, 10);
}
page.setRecords(list);
map.put("dateList",dateList);
map.put("cntList",cntList);
......
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