diff --git a/zc-business/src/main/java/com/zc/business/service/impl/DcSdhsEventServiceImpl.java b/zc-business/src/main/java/com/zc/business/service/impl/DcSdhsEventServiceImpl.java index 5401fc43..9bbeb028 100644 --- a/zc-business/src/main/java/com/zc/business/service/impl/DcSdhsEventServiceImpl.java +++ b/zc-business/src/main/java/com/zc/business/service/impl/DcSdhsEventServiceImpl.java @@ -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) item).get("num").toString())).reversed()).collect(Collectors.toList()); } return AjaxResult.success(list);