Commit 783bebff authored by lixuan's avatar lixuan

Merge branch 'dev' into 'main'

Dev

See merge request !145
parents c6ac5e3f d49957d9
Pipeline #143336 passed with stages
in 8 minutes and 1 second
......@@ -28,9 +28,9 @@ public class HouseResource implements Serializable {
private BigDecimal houseArea;
private String houseResourceAttribute;
private int houseResourceAttribute;
private String houseResourceType;
private int houseResourceType;
private String houseResourceUse;
......
......@@ -170,7 +170,7 @@ public class HouseResourceServiceImpl implements HouseResourceService {
houseResourceProfileGraph.setHouseResources(handleHouseList(v));
resourceProfileGraphList.add(houseResourceProfileGraph);
});
return resourceProfileGraphList;
return resourceProfileGraphList.stream().sorted(Comparator.comparing(HouseResourceProfileGraph::getId)).collect(Collectors.toList());
}
@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