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/repository/PreventRiskControlTemplateRepository.java |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskControlTemplateRepository.java b/src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskControlTemplateRepository.java
index 354f4b1..a155625 100644
--- a/src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskControlTemplateRepository.java
+++ b/src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskControlTemplateRepository.java
@@ -1,6 +1,7 @@
 package com.ruoyi.doublePrevention.repository;
 
 
+import com.ruoyi.doublePrevention.entity.PreventRiskControlTemplate;
 import org.springframework.stereotype.Repository;
 
 import java.util.List;
@@ -8,4 +9,12 @@
 @Repository
 public interface PreventRiskControlTemplateRepository{
 
+    /**
+     * 管控措施- 获取管控措施模板
+     */
+    List<PreventRiskControlTemplate> listMeasureTemplates();
+    /**
+     * 管控措施- 获取管控措施模板 - by id
+     */
+    PreventRiskControlTemplate getControlTemplateById(Byte classify2);
 }

--
Gitblit v1.9.2