Commit c62a3d99 authored by wuqinghua's avatar wuqinghua

Merge remote-tracking branch 'origin/master'

# Conflicts:
#	gassafetyprogress-web/src/views/regulation/pipe/index.vue
parent 01e24f78
...@@ -140,9 +140,14 @@ public class PipeInterfaceController { ...@@ -140,9 +140,14 @@ public class PipeInterfaceController {
//查询阀门井数据 //查询阀门井数据
List<DeviceData> pipeDates = iPipeInterfaceService.selectvalveData(); List<DeviceData> pipeDates = iPipeInterfaceService.selectvalveData();
for (int i=0;i<pipeDates.size();i++){ for (int i=0;i<pipeDates.size();i++){
//查询下级设备数据
List<PressureFlow> pressureFlows = iPipeInterfaceService.selectPressureFlow(pipeDates.get(i).getDeviceId());
pipeDates.get(i).setIconType(3); pipeDates.get(i).setIconType(3);
pipeDates.get(i).setPressureFlows(pressureFlows);
} }
deviceDataList.setData(pipeDates); deviceDataList.setData(pipeDates);
return deviceDataList; return deviceDataList;
} }
......
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