You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
786 B
29 lines
786 B
package com.yf.exam.modules.sys.depart.mapper;
|
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
import com.yf.exam.modules.sys.depart.dto.SysDepartDTO;
|
|
import com.yf.exam.modules.sys.depart.dto.response.SysDepartTreeDTO;
|
|
import com.yf.exam.modules.sys.depart.entity.SysDepart;
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
/**
|
|
* <p>
|
|
* 部门信息Mapper
|
|
* </p>
|
|
*
|
|
* @author 聪明笨狗
|
|
* @since 2020-09-02 17:25
|
|
*/
|
|
public interface SysDepartMapper extends BaseMapper<SysDepart> {
|
|
|
|
/**
|
|
* 部门树分页
|
|
* @param page
|
|
* @param query
|
|
* @return
|
|
*/
|
|
IPage<SysDepartTreeDTO> paging(Page page, @Param("query") SysDepartDTO query);
|
|
}
|