Commit ec14dc50 authored by 麻笑宇's avatar 麻笑宇

1.大屏-应急-即时警情列表接口修改

2.大屏-应急-电梯数量统计 (按区域)接口修改
parent 3530008e
...@@ -139,7 +139,11 @@ public class YJDPStatisticsServiceImpl { ...@@ -139,7 +139,11 @@ public class YJDPStatisticsServiceImpl {
List<Long> ydata = new ArrayList<>(); List<Long> ydata = new ArrayList<>();
regionList.forEach(x -> { regionList.forEach(x -> {
String orgCode = stCommonService.getAndSetOrgCode(x.getRegionCode().toString()); String orgCode = stCommonService.getAndSetOrgCode(x.getRegionCode().toString());
ydata.add(elevatorCountByES(orgCode)); if(!ValidationUtil.isEmpty(orgCode)) {
ydata.add(elevatorCountByES(orgCode));
}else{
ydata.add(0L);
}
}); });
JSONObject jsonObject = new JSONObject(); JSONObject jsonObject = new JSONObject();
jsonObject.put("xdata", xdata); jsonObject.put("xdata", xdata);
......
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