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();
|
}
|