Commit 6cca076a authored by lixuan's avatar lixuan

Merge branch 'dev' into 'main'

Dev

See merge request !149
parents 72814acd caebb5a4
Pipeline #143398 passed with stages
in 6 minutes and 2 seconds
......@@ -167,7 +167,8 @@ public class HouseResourceServiceImpl implements HouseResourceService {
if (StringUtils.hasText(wgName)) {
houseResourceProfileGraph.setWgName(wgName);
}
houseResourceProfileGraph.setHouseResources(handleHouseList(v));
List<HouseResourcePage> houseResourcePages = handleHouseList(v);
houseResourceProfileGraph.setHouseResources(houseResourcePages.stream().sorted(Comparator.comparing(HouseResourcePage::getHouseNumber)).collect(Collectors.toList()));
resourceProfileGraphList.add(houseResourceProfileGraph);
});
return resourceProfileGraphList.stream().sorted(Comparator.comparing(HouseResourceProfileGraph::getId)).collect(Collectors.toList());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment