|
|
@ -1665,7 +1665,7 @@ public class DcSdhsEventServiceImpl implements IDcSdhsEventService { |
|
|
|
map.put("num", subclass.get(key)); |
|
|
|
list.add(map); |
|
|
|
} |
|
|
|
list = list.stream().sorted(Comparator.comparing(item -> Long.valueOf(item.get("num").toString()))).collect(Collectors.toList()); |
|
|
|
list = list.stream().sorted(Comparator.comparing(item -> Long.valueOf(((Map<String, Object>) item).get("num").toString())).reversed()).collect(Collectors.toList()); |
|
|
|
} |
|
|
|
|
|
|
|
return AjaxResult.success(list); |
|
|
|