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.YsEmergencyRehearsalDto;
import com.yeejoin.amos.boot.module.ys.api.entity.YsEmergencyRehearsal;
import org.springframework.data.repository.query.Param;

/**
 * 应急演练记录管理 Mapper 接口
 *
 * @author system_generator
 * @date 2024-09-24
 */
public interface YsEmergencyRehearsalMapper extends BaseMapper<YsEmergencyRehearsal> {

    Page<YsEmergencyRehearsalDto> queryForYsEmergencyRehearsalPage(@Param(value = "page") Page<YsEmergencyRehearsalDto> page,
                                                                   @Param(value = "dto") YsEmergencyRehearsalDto dto);

}
