From 5ea8ef80312e8c1d3365abe7106622d676def195 Mon Sep 17 00:00:00 2001 From: huangzhen <867127663@qq.com> Date: 星期五, 30 九月 2022 16:41:09 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- src/main/java/com/ruoyi/doublePrevention/repository/TrHiddenDangerCheckPointRepository.java | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/ruoyi/doublePrevention/repository/TrHiddenDangerCheckPointRepository.java b/src/main/java/com/ruoyi/doublePrevention/repository/TrHiddenDangerCheckPointRepository.java new file mode 100644 index 0000000..2a53c96 --- /dev/null +++ b/src/main/java/com/ruoyi/doublePrevention/repository/TrHiddenDangerCheckPointRepository.java @@ -0,0 +1,24 @@ +package com.ruoyi.doublePrevention.repository; + +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); +} -- Gitblit v1.9.2