From 886a387463f4e0e0ad6f7c2a04d2cfab2e3aace8 Mon Sep 17 00:00:00 2001
From: huangzhen <867127663@qq.com>
Date: Fri, 28 Oct 2022 10:48:05 +0800
Subject: [PATCH] 新增管控措施不分页
---
src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskDangerInfoRepository.java | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskDangerInfoRepository.java b/src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskDangerInfoRepository.java
index ab46936..9345b1f 100644
--- a/src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskDangerInfoRepository.java
+++ b/src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskDangerInfoRepository.java
@@ -1,7 +1,13 @@
package com.ruoyi.doublePrevention.repository;
import com.ruoyi.doublePrevention.entity.PreventRiskDangerInfo;
+import com.ruoyi.doublePrevention.entity.dto.DataCountDangerResultRespDO;
+import com.ruoyi.doublePrevention.repository.param.DataCountStartAndEndTimeParams;
+import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
+
+import java.util.Date;
+import java.util.List;
@Repository
public interface PreventRiskDangerInfoRepository {
@@ -16,4 +22,13 @@
int updateDangerInfo(PreventRiskDangerInfo dangerInfo);
int deleteDangerInfo(Long id);
+ /**
+ * 修改隐患整改状态
+ */
+ int updateDangerInfoState(PreventRiskDangerInfo dangerInfo);
+
+ /**
+ * @description 统计时间段内所有、死亡、重伤、轻伤的隐患数量
+ */
+ DataCountDangerResultRespDO listDangerResultCountByTime(@Param("startTime") Date startTime, @Param("endTime") Date endTime,@Param("depIds") List<Long> depIds);
}
--
Gitblit v1.9.2