From 81a6a662b5db806e0824f311a89993d853db9371 Mon Sep 17 00:00:00 2001
From: huangzhen <867127663@qq.com>
Date: Thu, 13 Oct 2022 16:15:46 +0800
Subject: [PATCH] 新增前端获取危险单元名称和编码、加入redis缓存
---
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