package com.ruoyi.web.modules.epidemic.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.ruoyi.web.modules.epidemic.domain.BizEpidemicReport;

/**
 * 疫情上报 Mapper
 */
public interface BizEpidemicReportMapper
{
    BizEpidemicReport selectBizEpidemicReportById(Long id);

    List<BizEpidemicReport> selectBizEpidemicReportList(BizEpidemicReport query);

    int insertBizEpidemicReport(BizEpidemicReport row);

    int updateBizEpidemicReport(BizEpidemicReport row);

    int updateReleaseDate(BizEpidemicReport row);

    int deleteBizEpidemicReportByIds(Long[] ids);

    List<BizEpidemicReport> selectByReportYear(@Param("statYear") int statYear);

    List<BizEpidemicReport> selectRelievedByReleaseYear(@Param("statYear") int statYear);

    List<BizEpidemicReport> selectActiveControlByReportYear(@Param("statYear") int statYear);

    List<String> selectDistinctReportYears();
}
