From 685a27db221bd4033ff040d933e1fb03f15689b2 Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: 星期五, 11 十一月 2022 14:23:46 +0800
Subject: [PATCH] controller中首页调用方法

---
 src/main/java/com/ruoyi/doublePrevention/service/RiskService.java |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/src/main/java/com/ruoyi/doublePrevention/service/RiskService.java b/src/main/java/com/ruoyi/doublePrevention/service/RiskService.java
index c1e07c1..9b4b203 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;
@@ -167,4 +165,16 @@
      * 管控措施-不分页查询
      */
     ResultVO<List<PreventRiskControlMeasureListQueryRespDTO>> listRiskControlMeasure();
+    /**
+     * 通过排查点,查找管控措施id
+     */
+    PreventRiskCheckUnit getRiskControlMeasureByCheckPointId(Long checkPointId);
+    /**
+     * 查询管控措施信息
+     */
+    PreventRiskControlMeasure getRiskControlMeasureInfo(Long checkPointId);
+    /**
+     * 查询隐患附属表信息
+     */
+    PreventRiskDangerInfo getDangerInfoById(Long id);
 }

--
Gitblit v1.9.2