liusuyi
2024-07-26 38f4107cbe3cbb066f77365b16af96f5b7650bd8
ruoyi-common/src/main/java/com/ruoyi/common/core/domain/TreeSelectWell.java
@@ -7,6 +7,7 @@
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
/**
@@ -25,18 +26,7 @@
    private String label;
    /** 子节点 */
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private List<TreeSelectWell> children;
    public List<HealthVo> getWell() {
        return well;
    }
    public void setWell(List<HealthVo> well) {
        this.well = well;
    }
    private List<HealthVo> well = new ArrayList<>();
    private List<TreeSelectWell> children = new ArrayList<>();
    public TreeSelectWell()
    {
@@ -47,7 +37,6 @@
    {
        this.id = dept.getDeptId();
        this.label = dept.getDeptName();
        this.well = dept.getWell();
        this.children = dept.getChildren().stream().map(TreeSelectWell::new).collect(Collectors.toList());
    }