package com.sptg.permissions.biz.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.sptg.permissions.api.dto.OrgDto;
import com.sptg.permissions.api.entity.Organization;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * title: OrganizationMapper
 * package: com.sptg.permissions.biz.mapper
 * description: 机构表-DAO接口
 *
 *                  
 *                 
 */
public interface OrganizationMapper extends BaseMapper<Organization> {


    /**
     * 功能描述:分页查询机构
     * @param dto 查询条件
     * @return page 分页
     *             
     *                      
     */
    List<Organization> showOrgList(@Param(value = "dto") OrgDto dto, @Param(value = "page") Pagination page);



}
