From 7e7195766eb018b4ba00b2d0663f6dcb11adefc8 Mon Sep 17 00:00:00 2001
From: 16639036659 <577530412@qq.com>
Date: 星期二, 27 九月 2022 09:01:38 +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