Commit caebb5a4 authored by lixuan's avatar lixuan

Merge branch 'dev-lx' into 'dev'

feat: 房源

See merge request !148
parents 5df1f54d 43588170
Pipeline #143395 passed with stages
in 6 minutes and 1 second
......@@ -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