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

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

/**
 * 实验室检测 Mapper
 */
public interface BizLabDetectionMapper
{
    BizLabDetection selectBizLabDetectionById(Long id);

    List<BizLabDetection> selectBizLabDetectionList(BizLabDetection query);

    int insertBizLabDetection(BizLabDetection row);

    int updateBizLabDetection(BizLabDetection row);

    int deleteBizLabDetectionByIds(Long[] ids);

    int countByQuarantineStationId(Long quarantineStationId);

    List<BizLabDetection> selectByTestYear(@Param("statYear") int statYear);

    List<BizLabDetection> selectByTestDateBetween(
            @Param("rangeStart") java.util.Date rangeStart,
            @Param("rangeEnd") java.util.Date rangeEnd);

    List<String> selectDistinctTestYears();
}
