Commit bac8469d by zhangkb

修改维度标签树显示tagType和dimensionType

parent cfb8c8c0
...@@ -70,7 +70,8 @@ public class JsonTreeHelper { ...@@ -70,7 +70,8 @@ public class JsonTreeHelper {
for (String part : parts) { for (String part : parts) {
JsonNode subNode = null; JsonNode subNode = null;
if (current.getChildSize() == 0) { if (current.getChildSize() == 0) {
subNode = new JsonNode(part, jsonNode.nodeId, jsonNode.path, jsonNode.idPath); subNode = new JsonNode(part, jsonNode.nodeId, jsonNode.path, jsonNode.idPath,
jsonNode.tagType,jsonNode.dimensionType);
current.addChild(subNode); current.addChild(subNode);
} else { } else {
for (JsonNode node : current.children) { for (JsonNode node : current.children) {
...@@ -78,7 +79,8 @@ public class JsonTreeHelper { ...@@ -78,7 +79,8 @@ public class JsonTreeHelper {
subNode = node; subNode = node;
} }
if (subNode == null) { if (subNode == null) {
subNode = new JsonNode(part, jsonNode.nodeId, jsonNode.path, jsonNode.idPath); subNode = new JsonNode(part, jsonNode.nodeId, jsonNode.path, jsonNode.idPath,
jsonNode.tagType,jsonNode.dimensionType);
current.addChild(subNode); current.addChild(subNode);
} }
} }
......
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