package com.yeejoin.amos.boot.module.ys.api.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yeejoin.amos.boot.module.ys.api.dto.YsEmergencyExpertsDto;
import com.yeejoin.amos.boot.module.ys.api.entity.YsEmergencyExperts;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * 应急专家库 Mapper 接口
 *
 * @author system_generator
 * @date 2024-09-24
 */
public interface YsEmergencyExpertsMapper extends BaseMapper<YsEmergencyExperts> {

    /**
     * 分页查询
     *
     * @param page 分页对象
     * @param dto  查询参数
     * @return
     */
    Page<Map<String, Object>> pageList(@Param("page") Page<Map<String, Object>> page,
                                       @Param("dto") YsEmergencyExpertsDto dto);

}
