From 326c87fed063066712ebb9e408a30d669f8681d3 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期一, 17 六月 2024 09:36:08 +0800
Subject: [PATCH] 添加
---
src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskDangerInfoRepository.java | 21 +++++++++++++++++++++
1 files changed, 21 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 946f7de8..18da464 100644
--- a/src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskDangerInfoRepository.java
+++ b/src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskDangerInfoRepository.java
@@ -3,6 +3,7 @@
import com.ruoyi.doublePrevention.entity.PreventRiskDangerInfo;
import com.ruoyi.doublePrevention.entity.dto.DataCountDangerResultRespDO;
import com.ruoyi.doublePrevention.repository.param.DataCountStartAndEndTimeParams;
+import com.ruoyi.doublePrevention.repository.param.HandlerReportParam;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
@@ -22,9 +23,29 @@
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);
+
+
+
+ /**
+ * 搜索需要上报的隐患
+ */
+ List<PreventRiskDangerInfo> listReportDanger();
+ /**
+ * 修改上报的数据的姿态
+ */
+ PreventRiskDangerInfo updateDangerInfoReportStatus(HandlerReportParam handlerReportParam);
+ /**
+ * 查询隐患附属表信息
+ */
+ PreventRiskDangerInfo getByHiddenDangerId(Long id);
+
}
--
Gitblit v1.9.2