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.YsEmergencyPlanDto;
import com.yeejoin.amos.boot.module.ys.api.entity.YsEmergencyPlan;
import com.yeejoin.amos.boot.module.ys.api.mapper.YsEmergencyPlanMapper;
import com.yeejoin.amos.boot.module.ys.api.service.IYsEmergencyPlanService;
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 YsEmergencyPlanServiceImpl extends BaseService<YsEmergencyPlanDto,YsEmergencyPlan,YsEmergencyPlanMapper> implements IYsEmergencyPlanService {
    /**
     * 分页查询
     */
    public Page<YsEmergencyPlanDto> queryForYsEmergencyPlanPage(Page<YsEmergencyPlanDto> page)   {
        return this.queryForPage(page, null, false);
    }

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