‘liusuyi’
2023-09-23 cd37af890600186215fd53c0d419c89c562e3e70
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDeptServiceImpl.java
@@ -4,6 +4,7 @@
import java.util.stream.Collectors;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.ruoyi.common.core.domain.HealthVo;
import com.ruoyi.common.core.domain.TreeDeptWell;
import com.ruoyi.common.core.domain.TreeSelectWell;
import org.springframework.stereotype.Service;
@@ -366,9 +367,10 @@
    }
    @Override
    public List<TreeSelectWell> wellTree(List<TreeDeptWell> depts) {
    public List<TreeDeptWell> wellTree(List<TreeDeptWell> depts) {
        List<TreeDeptWell> deptTrees = buildDeptWellTree(depts);
        return deptTrees.stream().map(TreeSelectWell::new).collect(Collectors.toList());
        return deptTrees;
//        return deptTrees.stream().map(TreeSelectWell::new).collect(Collectors.toList());
    }
    @Override