src/main/java/com/zy/crm/system/controller/DeptController.java
@@ -139,7 +139,7 @@ @PostMapping(value = "/dept/tree/auth") @ManagerAuth public R tree(@RequestParam(required = false, defaultValue = "") String condition) throws IOException, ClassNotFoundException { ArrayList<Map> tree = treeUtils.getDeptTree(String.valueOf(getOriginDept().getId()), getHostId()); ArrayList<Map> tree = treeUtils.getDeptTree(String.valueOf(getDeptId()), getHostId()); // 深拷贝 List<Map> result = ListUtils.deepCopy(tree); if (!Cools.isEmpty(condition)) {