From 2f2e78aaf8c6c7f3eaeffeb45e2b9aba2d88278c Mon Sep 17 00:00:00 2001
From: 16639036659 <577530412@qq.com>
Date: 星期二, 11 七月 2023 16:54:32 +0800
Subject: [PATCH] 任务检索修改,页面全流程隐患上报已测试

---
 src/main/resources/mybatis/doublePrevention/PreventRiskListMapper.xml |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mybatis/doublePrevention/PreventRiskListMapper.xml b/src/main/resources/mybatis/doublePrevention/PreventRiskListMapper.xml
index c39d8cb..b22f884 100644
--- a/src/main/resources/mybatis/doublePrevention/PreventRiskListMapper.xml
+++ b/src/main/resources/mybatis/doublePrevention/PreventRiskListMapper.xml
@@ -27,8 +27,15 @@
     </resultMap>
 
     <select id="getPreventRiskListById" resultMap="BaseResultMap">
-        select * from tr_risk_list
+        select *
+        from tr_risk_list
         where risk_list_id = #{id}
     </select>
 
+    <select id="listRiskUnitCodeAndName" resultMap="BaseResultMap">
+        select *
+        from tr_risk_list
+        where risk_type  &lt;&gt; 4
+    </select>
+
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.2