From 0d2d98c1c8538b3078c9ae0ae9287d58f0f6de22 Mon Sep 17 00:00:00 2001
From: huangzhen <867127663@qq.com>
Date: Thu, 13 Oct 2022 16:31:05 +0800
Subject: [PATCH] 导入redis服务器地址配置
---
src/main/resources/mybatis/doublePrevention/PreventRiskDangerInfoMapper.xml | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mybatis/doublePrevention/PreventRiskDangerInfoMapper.xml b/src/main/resources/mybatis/doublePrevention/PreventRiskDangerInfoMapper.xml
index 46ad02d..e4de7ad 100644
--- a/src/main/resources/mybatis/doublePrevention/PreventRiskDangerInfoMapper.xml
+++ b/src/main/resources/mybatis/doublePrevention/PreventRiskDangerInfoMapper.xml
@@ -77,5 +77,16 @@
</if>
</select>
+<!-- int updateDangerInfoState(PreventRiskDangerInfo dangerInfo);-->
+ <update id="updateDangerInfoState">
+ update prevent_risk_danger_info set
+ danger_state = #{dangerState},
+ update_report_data_time = #{updateReportDataTime},
+ report_status = #{reportStatus},
+ report_switch = #{reportSwitch}
+ where danger_check_point_id = #{dangerCheckPointId}
+ </update>
+
</mapper>
+
--
Gitblit v1.9.2