zss
2024-05-30 b8045b11ca8af95cb5aeba464bff589e0b9f53b8
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
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);
}