From 21e7d491658dbd969adbcf0bc2f13a5d563ab863 Mon Sep 17 00:00:00 2001
From: 16639036659 <577530412@qq.com>
Date: 星期四, 25 四月 2024 13:25:35 +0800
Subject: [PATCH] SPI数据,隐患等级饼图信息独立出来,调整查询方式

---
 src/main/java/com/ruoyi/doublePrevention/service/baseService/PreventRiskDangerInfoService.java |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/ruoyi/doublePrevention/service/baseService/PreventRiskDangerInfoService.java b/src/main/java/com/ruoyi/doublePrevention/service/baseService/PreventRiskDangerInfoService.java
index 98ee2d0..13194ee 100644
--- a/src/main/java/com/ruoyi/doublePrevention/service/baseService/PreventRiskDangerInfoService.java
+++ b/src/main/java/com/ruoyi/doublePrevention/service/baseService/PreventRiskDangerInfoService.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 java.util.Date;
 import java.util.List;
@@ -17,6 +18,7 @@
      * 修改隐患上报
      * */
     int updateDangerInfo(PreventRiskDangerInfo dangerInfo);
+
     /**
      * 删除隐患上报
      */
@@ -31,4 +33,20 @@
      */
     DataCountDangerResultRespDO listDangerResultCountByTime(Date startTime, Date endTime, List<Long> depIds);
 
+
+
+    /**
+     * 搜索需要上报的隐患
+     */
+    List<PreventRiskDangerInfo> listReportDanger();
+    /**
+     * 修改上报的数据的姿态
+     */
+    PreventRiskDangerInfo updateDangerInfoReportStatus(HandlerReportParam handlerReportParam);
+    /**
+     * 查询隐患附属表信息
+     */
+    PreventRiskDangerInfo getByHiddenDangerId(Long id);
+
+    PreventRiskDangerInfo getDangerInfoByDangerCheckPointId(Long checkId);
 }

--
Gitblit v1.9.2