Commit d49957d9 authored by lixuan's avatar lixuan

Merge branch 'dev-lx' into 'dev'

Dev lx

See merge request !144
parents bf86d636 f96cf5b6
Pipeline #143329 passed with stages
in 6 minutes and 7 seconds
......@@ -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