Commit f6783819 authored by 麻笑宇's avatar 麻笑宇

气瓶大屏调整

parent 38bd32dd
......@@ -424,6 +424,9 @@ public class CylinderDPStatisticsServiceImpl {
return item;
}).collect(Collectors.toList());
Collections.sort(returnList, (o1, o2) -> ((Double)o2.get("stationRate")).compareTo((Double)o1.get("stationRate")));
for(int i = 0;i<returnList.size();i++){
returnList.get(i).put("sequenceNbr",i);
}
return returnList;
}
......
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