|  |  |  | 
|---|
|  |  |  | @PostMapping(value = "/node/tree/auth") | 
|---|
|  |  |  | @ManagerAuth | 
|---|
|  |  |  | public R tree(@RequestParam(required = false, defaultValue = "") String condition) throws IOException, ClassNotFoundException { | 
|---|
|  |  |  | ArrayList<Map> tree = treeUtils.getNodeTree(String.valueOf(getOriginNode().getId()), getHostId()); | 
|---|
|  |  |  | ArrayList<Map<String, Object>> tree = treeUtils.getNodeTree(String.valueOf(getOriginNode().getId()), getHostId()); | 
|---|
|  |  |  | // 深拷贝 | 
|---|
|  |  |  | List<Map> result = ListUtils.deepCopy(tree); | 
|---|
|  |  |  | List<Map<String, Object>> result = ListUtils.deepCopy(tree); | 
|---|
|  |  |  | if (!Cools.isEmpty(condition)) { | 
|---|
|  |  |  | treeUtils.remove(condition, result); | 
|---|
|  |  |  | treeUtils.remove(condition, result); | 
|---|