Commit 664a3595 authored by 王晓倩's avatar 王晓倩

设备巡检修改级联选项问题修复

parent a3d0687b
......@@ -102,14 +102,14 @@ public class TDeviceInfoServiceImpl implements ITDeviceInfoService
for(TPipe pipe : pipeList){
Map<Object, Object> map = new HashMap<>();
map.put("id", pipe.getPipeId());
map.put("level", 2);
map.put("level", "2");
map.put("name", pipe.getPipeName());
childNodeList.add(map);
}
Map<Object, Object> treeNode = new HashMap<>();
treeNode.put("id", 0);
treeNode.put("level", 1);
treeNode.put("id", "0");
treeNode.put("level", "1");
treeNode.put("name", "管道");
treeNode.put("childList", childNodeList);
......@@ -141,23 +141,23 @@ public class TDeviceInfoServiceImpl implements ITDeviceInfoService
}
Map<Object, Object> treeNode1 = new HashMap<>();
treeNode1.put("id", 1);
treeNode1.put("level", 1);
treeNode1.put("id", "1");
treeNode1.put("level", "1");
treeNode1.put("name", "调压阀");
treeNode1.put("childList", childNodeList1);
Map<Object, Object> treeNode2 = new HashMap<>();
treeNode2.put("id", 2);
treeNode2.put("level", 1);
treeNode2.put("id", "2");
treeNode2.put("level", "1");
treeNode2.put("name", "阀门井");
treeNode2.put("childList", childNodeList2);
Map<Object, Object> treeNode3 = new HashMap<>();
treeNode3.put("id", 3);
treeNode3.put("level", 1);
treeNode3.put("id", "3");
treeNode3.put("level", "1");
treeNode3.put("name", "流量计");
treeNode3.put("childList", childNodeList3);
Map<Object, Object> treeNode4 = new HashMap<>();
treeNode4.put("id", 4);
treeNode4.put("level", 1);
treeNode4.put("id", "4");
treeNode4.put("level", "1");
treeNode4.put("name", "压力表");
treeNode4.put("childList", childNodeList4);
......
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