package com.ruoyi.doublePrevention.repository;
|
|
import com.ruoyi.doublePrevention.entity.SPI.SPIDataReqBO;
|
import com.ruoyi.doublePrevention.entity.SPI.TroubleData;
|
import com.ruoyi.doublePrevention.entity.SPI.TroubleLevel;
|
import com.ruoyi.doublePrevention.entity.dto.DataCountDangerLevelRectifiedRespDO;
|
import com.ruoyi.doublePrevention.entity.dto.DataCountDangerLevelRespDO;
|
import org.apache.ibatis.annotations.Param;
|
import org.springframework.stereotype.Repository;
|
|
import java.util.Date;
|
import java.util.List;
|
|
@Repository
|
public interface TrHiddenDangerCheckPointRepository {
|
|
/**
|
* @description 统计时间段内一般、重大、一般已整改、重大已整改的隐患数量
|
*/
|
DataCountDangerLevelRespDO listDangerLevelCountByTime(@Param("startTime") Date startTime, @Param("endTime") Date endTime, @Param("depIds") List<Long> depIds);
|
|
/**
|
* @description 统计时间段内一般已整改、重大已整改的隐患数量
|
*/
|
DataCountDangerLevelRectifiedRespDO listDangerLevelRectifiedCountByTime(@Param("startTime") Date startTime,
|
@Param("endTime") Date endTime,@Param("depIds") List<Long> depIds);
|
|
List<TroubleData> getSPIData(@Param(value="spiDataReqBO")SPIDataReqBO spiDataReqBO);
|
|
TroubleLevel getTroubleLevel(@Param(value="spiDataReqBO")SPIDataReqBO spiDataReqBO);
|
}
|