|
@@ -224,10 +224,11 @@ public class MouldHistoryServiceImpl extends ServiceImpl<MouldHistoryMapper, Mou
|
|
|
}
|
|
|
}
|
|
|
Map<String, MouldCycleRuntime> runtimeResult = new LinkedHashMap<>();
|
|
|
+ //给map排序
|
|
|
set.entrySet().stream().sorted(Map.Entry.<String, MouldCycleRuntime>comparingByKey().reversed())
|
|
|
.forEachOrdered(e -> runtimeResult.put(e.getKey(), e.getValue()));
|
|
|
listMap.put("runtime", runtimeResult);
|
|
|
- msg.data = map;
|
|
|
+ msg.data = listMap;
|
|
|
return msg;
|
|
|
}
|
|
|
|