value
2024-05-30 2e89bb115815ca329c6fd54d6d987779791c657c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package com.yuanchu.mom.mapper;
 
import com.yuanchu.mom.dto.DepartmentDto;
import com.yuanchu.mom.mybatis_config.MyBaseMapper;
import com.yuanchu.mom.pojo.Department;
 
import java.util.List;
 
/**
 * <p>
 * 部门明细 Mapper 接口
 * </p>
 *
 * @author 江苏鵷雏网络科技有限公司
 * @since 2024-04-15 04:01:48
 */
public interface DepartmentMapper extends MyBaseMapper<Department> {
 
 
    //获取部门树
    List<DepartmentDto> selectDepartment();
 
    //根据部门id,查询他的所有子类id
    List<Integer> selectSonById(Integer id);
 
    List<DepartmentDto> selectCustomList();
}