ltkj-common/src/main/java/com/ltkj/common/core/domain/TreeSelect.java
@@ -21,13 +21,16 @@ /** * 节点ID */ // @JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class) private Long id; /** * 节点名称 */ private String label; private String qf; /** * 子节点 @@ -42,6 +45,7 @@ public TreeSelect(SysDept dept) { this.id = dept.getDeptId(); this.label = dept.getDeptName(); this.qf=dept.getQf(); this.children = dept.getChildren().stream().map(TreeSelect::new).collect(Collectors.toList()); }