From 906a46c22911f37bca4c6b727a7e0e57551b3ac0 Mon Sep 17 00:00:00 2001
From: 16639036659 <577530412@qq.com>
Date: 星期二, 27 九月 2022 10:11:58 +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