Commit f494a753 by 刘鑫

fix: 排序结果未生效

1 parent 89e937fd
...@@ -107,7 +107,7 @@ public class OrgCapacityServiceImpl implements OrgCapacityService { ...@@ -107,7 +107,7 @@ public class OrgCapacityServiceImpl implements OrgCapacityService {
} }
contents.add(content); contents.add(content);
} }
contents.stream().sorted( contents = contents.stream().sorted(
Comparator.comparing(CapacityStatQueryDTO.Content::getDate)).collect(Collectors.toList()); Comparator.comparing(CapacityStatQueryDTO.Content::getDate)).collect(Collectors.toList());
rs.setContent(contents); rs.setContent(contents);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!