From 2ccbb8881721a16ec5cf68b12346ecdc0b6941cf Mon Sep 17 00:00:00 2001
From: huangzhen <867127663@qq.com>
Date: 星期日, 09 十月 2022 09:10:00 +0800
Subject: [PATCH] 获取所有的风险分析单元的编码和姓名

---
 src/main/resources/mybatis/doublePrevention/PreventRiskEventMapper.xml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mybatis/doublePrevention/PreventRiskEventMapper.xml b/src/main/resources/mybatis/doublePrevention/PreventRiskEventMapper.xml
index 00464a4..8bf37cd 100644
--- a/src/main/resources/mybatis/doublePrevention/PreventRiskEventMapper.xml
+++ b/src/main/resources/mybatis/doublePrevention/PreventRiskEventMapper.xml
@@ -57,6 +57,7 @@
             <if test="updateReportDataTime != null ">update_report_data_time = #{updateReportDataTime},</if>
             <if test="reportSwitch != null ">report_switch = #{reportSwitch},</if>
         </trim>
+        where id = #{id} and delete_status = 0
     </update>
 
 

--
Gitblit v1.9.2