Commit b2ed7be9 by 丁伟峰

for test

1 parent 4c85f8f7
...@@ -131,10 +131,11 @@ public class CapacityQueryServiceImpl implements CapacityQueryService { ...@@ -131,10 +131,11 @@ public class CapacityQueryServiceImpl implements CapacityQueryService {
log.info("===== content2: {}", content); log.info("===== content2: {}", content);
contents.add(content); contents.add(content);
}; };
log.info("===== contents: {}", contents);
contents.stream().sorted( contents.stream().sorted(
Comparator.comparing(CapacityStatQueryRespDTO.Content::getDate)).collect(Collectors.toList()); Comparator.comparing(CapacityStatQueryRespDTO.Content::getDate)).collect(Collectors.toList());
data.setContent(contents); data.setContent(contents);
log.info("===== data: {}", data);
return Result.success(data); return Result.success(data);
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!