‘liusuyi’
2023-10-21 3f76a7c7ab25e2b37492073dc80bb5f0f0d8f40f
ruoyi-system/src/main/java/com/ruoyi/system/service/ISysDeptService.java
@@ -4,6 +4,7 @@
import java.util.Map;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.common.core.domain.TreeDeptWell;
import com.ruoyi.common.core.domain.TreeSelect;
import com.ruoyi.common.core.domain.TreeSelectWell;
import com.ruoyi.common.core.domain.entity.SysDept;
@@ -135,11 +136,13 @@
    List<SysDept> all();
    List<SysDept> allByUser(List<Long> deptList);
    /**
     * 预留结构的树形
     * @param depts
     * @return
     */
    List<TreeSelectWell> wellTree(List<SysDept> depts);
    List<TreeDeptWell> wellTree(List<TreeDeptWell> depts);
    List<TreeDeptWell> buildDeptWellTree(List<TreeDeptWell> depts);
}