Commit 76d249ee authored by lixuan's avatar lixuan

feat: 房源

parent eddc7e0a
...@@ -170,7 +170,7 @@ public class HouseResourceServiceImpl implements HouseResourceService { ...@@ -170,7 +170,7 @@ public class HouseResourceServiceImpl implements HouseResourceService {
houseResourceProfileGraph.setHouseResources(handleHouseList(v)); houseResourceProfileGraph.setHouseResources(handleHouseList(v));
resourceProfileGraphList.add(houseResourceProfileGraph); resourceProfileGraphList.add(houseResourceProfileGraph);
}); });
return resourceProfileGraphList; return resourceProfileGraphList.stream().sorted(Comparator.comparing(HouseResourceProfileGraph::getId)).collect(Collectors.toList());
} }
@Override @Override
......
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