From c588bf4ecd889823225b4d0ec37edf8924894c4a Mon Sep 17 00:00:00 2001
From: 16639036659 <577530412@qq.com>
Date: Sun, 28 Apr 2024 13:07:49 +0800
Subject: [PATCH] SPI数据按照需求调整
---
src/main/java/com/ruoyi/doublePrevention/service/RiskService.java | 26 ++++++++++++++++++++++----
1 files changed, 22 insertions(+), 4 deletions(-)
diff --git a/src/main/java/com/ruoyi/doublePrevention/service/RiskService.java b/src/main/java/com/ruoyi/doublePrevention/service/RiskService.java
index affcaf7..d7ba8bb 100644
--- a/src/main/java/com/ruoyi/doublePrevention/service/RiskService.java
+++ b/src/main/java/com/ruoyi/doublePrevention/service/RiskService.java
@@ -1,8 +1,6 @@
package com.ruoyi.doublePrevention.service;
-import com.ruoyi.doublePrevention.entity.PreventRiskControlMeasure;
-import com.ruoyi.doublePrevention.entity.PreventRiskEvent;
-import com.ruoyi.doublePrevention.entity.PreventRiskJobAndMeasure;
+import com.ruoyi.doublePrevention.entity.*;
import com.ruoyi.doublePrevention.entity.dto.req.*;
import com.ruoyi.doublePrevention.entity.dto.resp.*;
import com.ruoyi.doublePrevention.repository.param.PreventPointAndMeasureParams;
@@ -122,7 +120,7 @@
* 定时生成排查任务记录时,
* 插入检查点附属表
*/
- void insertCheckAndMeasure(Long id, HiddenDangerCheckPoint hdcp);
+ int insertCheckAndMeasure(Long id, HiddenDangerCheckPoint hdcp);
/**
* 删除定时核查任务
* */
@@ -163,4 +161,24 @@
*/
List<PreventRiskUnitCodeAndNameListQueryRespDTO> listRiskUnitCodeAndName();
+ /**
+ * 管控措施-不分页查询
+ */
+ ResultVO<List<PreventRiskControlMeasureListQueryRespDTO>> listRiskControlMeasure();
+ /**
+ * 通过排查点,查找管控措施id
+ */
+ PreventRiskCheckUnit getRiskControlMeasureByCheckPointId(Long checkPointId);
+ /**
+ * 查询管控措施信息
+ */
+ PreventRiskControlMeasure getRiskControlMeasureInfo(Long checkPointId);
+ /**
+ * 查询隐患附属表信息
+ */
+ PreventRiskDangerInfo getDangerInfoById(Long id);
+
+ int updateCheckLog(Long checkId, HiddenDangerCheckPoint hdcp);
+
+ PreventRiskDangerInfo getDangerInfoByDangerCheckPointId(Long checkId);
}
--
Gitblit v1.9.2