From 9eaf260bb0368eea783b0ff0dd4ba7375c79e0f4 Mon Sep 17 00:00:00 2001
From: 16639036659 <577530412@qq.com>
Date: Mon, 31 Oct 2022 15:05:48 +0800
Subject: [PATCH] 检查点查询添加管控措施信息
---
src/main/java/com/ruoyi/doublePrevention/service/RiskService.java | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 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..ccc7fd5 100644
--- a/src/main/java/com/ruoyi/doublePrevention/service/RiskService.java
+++ b/src/main/java/com/ruoyi/doublePrevention/service/RiskService.java
@@ -1,5 +1,6 @@
package com.ruoyi.doublePrevention.service;
+import com.ruoyi.doublePrevention.entity.PreventRiskCheckUnit;
import com.ruoyi.doublePrevention.entity.PreventRiskControlMeasure;
import com.ruoyi.doublePrevention.entity.PreventRiskEvent;
import com.ruoyi.doublePrevention.entity.PreventRiskJobAndMeasure;
@@ -122,7 +123,7 @@
* 定时生成排查任务记录时,
* 插入检查点附属表
*/
- void insertCheckAndMeasure(Long id, HiddenDangerCheckPoint hdcp);
+ int insertCheckAndMeasure(Long id, HiddenDangerCheckPoint hdcp);
/**
* 删除定时核查任务
* */
@@ -163,4 +164,16 @@
*/
List<PreventRiskUnitCodeAndNameListQueryRespDTO> listRiskUnitCodeAndName();
+ /**
+ * 管控措施-不分页查询
+ */
+ ResultVO<List<PreventRiskControlMeasureListQueryRespDTO>> listRiskControlMeasure();
+ /**
+ * 通过排查点,查找管控措施id
+ */
+ PreventRiskCheckUnit getRiskControlMeasureByCheckPointId(Long checkPointId);
+ /**
+ * 查询管控措施信息
+ */
+ PreventRiskControlMeasure getRiskControlMeasureInfo(Long checkPointId);
}
--
Gitblit v1.9.2