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

/**
 * 救援案例管理 Mapper 接口
 *
 * @author system_generator
 * @date 2024-09-24
 */
public interface YsEmergencyCaseMapper extends BaseMapper<YsEmergencyCase> {

    Page<YsEmergencyCaseDto> queryForYsEmergencyCasePage(@Param(value = "page") Page<YsEmergencyCaseDto> page,
                                                         @Param(value = "sort") SortVo sort,
                                                         @Param(value = "dto") YsEmergencyCaseDto dto);
}
