package com.yeejoin.amos.boot.module.ys.biz.service.impl;

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 com.yeejoin.amos.boot.module.ys.api.mapper.YsEmergencyRehearsalMapper;
import com.yeejoin.amos.boot.module.ys.api.service.IYsEmergencyRehearsalService;
import org.springframework.stereotype.Service;
import org.typroject.tyboot.core.rdbms.service.BaseService;

import java.util.List;

/**
 * 应急演练记录管理服务实现类
 *
 * @author system_generator
 * @date 2024-09-24
 */
@Service
public class YsEmergencyRehearsalServiceImpl extends BaseService<YsEmergencyRehearsalDto,YsEmergencyRehearsal,YsEmergencyRehearsalMapper> implements IYsEmergencyRehearsalService {
    /**
     * 分页查询
     */
    public Page<YsEmergencyRehearsalDto> queryForYsEmergencyRehearsalPage(Page<YsEmergencyRehearsalDto> page)   {
        return this.queryForPage(page, null, false);
    }

    /**
     * 列表查询 示例
     */
    public List<YsEmergencyRehearsalDto> queryForYsEmergencyRehearsalList()   {
        return this.queryForList("" , false);
    }
}