Commit 24ca6c30 authored by chenzhao's avatar chenzhao

修改代码

parent 6d0e91b0
......@@ -42,6 +42,7 @@ import org.typroject.tyboot.component.emq.EmqKeeper;
import org.typroject.tyboot.core.foundation.utils.ValidationUtil;
import java.io.File;
import java.text.Collator;
import java.text.ParseException;
import java.util.*;
import java.util.stream.Collectors;
......@@ -201,6 +202,7 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
e.setValue(String.format("%.2f",f));
});
Collator instance = Collator.getInstance(Locale.CHINA);
Collections.sort(influxDBList,(e1,e2)->{
return instance.compare(e1.getSystemType(),e2.getSystemType());
});
......
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