Commit 96f0d702 authored by 刘凡's avatar 刘凡

修改:区域安全指数

parent a8d81784
......@@ -775,8 +775,12 @@ public class CylinderAreaDataServiceImpl extends BaseService<CylinderAreaDataDto
}
}))
.collect(Collectors.toList());
result.put("xdata", data.stream().map(map -> map.get("name")).collect(Collectors.toList()));
result.put("ydata", data.stream().map(map -> map.get("value")).collect(Collectors.toList()));
List<String> name = data.stream().map(map -> map.get("name")).collect(Collectors.toList());
Collections.reverse(name);
result.put("xdata", name);
List<String> value = data.stream().map(map -> map.get("value")).collect(Collectors.toList());
Collections.reverse(value);
result.put("ydata", value);
return result;
}
......
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