Commit ed4e5136 authored by yanzg's avatar yanzg

修复等待时间

parent aaa3aa0f
...@@ -106,7 +106,7 @@ public class AspectLogTime implements ThreadNext.Next, InitializingBean { ...@@ -106,7 +106,7 @@ public class AspectLogTime implements ThreadNext.Next, InitializingBean {
if (rowList.isEmpty()) { if (rowList.isEmpty()) {
return true; return true;
} }
rowList.sort(Comparator.comparingInt(AspectUrlCountVo::getStartCount)); rowList.sort(Comparator.comparingLong(AspectUrlCountVo::getTotalTime));
System.out.println(CollectionString.getCollectionString("接口从" + todayTime + "时执行次数:", rowList)); System.out.println(CollectionString.getCollectionString("接口从" + todayTime + "时执行次数:", rowList));
return true; return true;
} }
......
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