Commit c6426f6e authored by wuqinghua's avatar wuqinghua

2022-2-28 吴

parent 17e2926a
......@@ -68,16 +68,16 @@ public class PipeInterfaceController {
DeviceList deviceList=new DeviceList();
//调压箱数据循环
for (int i=0;i<deviceData.size();i++){
//临时存下级数据id
List<PressureFlow> pressList=new ArrayList<>();
for (int s=0;s<pressureFlows1.size();s++){
//判断调压箱id与下级数据调压箱id是否相等
if (pressureFlows1.get(s).getDeviceId()==deviceData.get(i).getDeviceId()){
//临时存下级数据id
List<PressureFlow> pressList=new ArrayList<>();
//下级数据添加进临时存储数据的数组中
pressList.add(pressureFlows1.get(s));
deviceData.get(i).setPressureFlows(pressList);
}
}
deviceData.get(i).setPressureFlows(pressList);
deviceData.get(i).setIconType(2);
}
deviceList.setData(deviceData);
......
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