aijinhui
2023-09-21 31189373f177755f0b0ec18c368cc3c33e3cd007
ruoyi-system/src/main/java/com/ruoyi/system/service/ISysDeptService.java
@@ -3,7 +3,10 @@
import java.util.List;
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;
/**
@@ -131,5 +134,15 @@
     */
    List<Long> deptIdBySub(Long deptId);
    List<SysDept> all();
    List<SysDept> allByUser(List<Long> deptList);
    /**
     * 预留结构的树形
     * @param depts
     * @return
     */
    List<TreeDeptWell> wellTree(List<TreeDeptWell> depts);
    List<TreeDeptWell> buildDeptWellTree(List<TreeDeptWell> depts);
}