From f3b27e042c7eac349bfef6d0dcf89b397164a599 Mon Sep 17 00:00:00 2001
From: kongdeqiang <kongdeqiang@960204@163.com>
Date: 星期一, 01 十二月 2025 22:15:35 +0800
Subject: [PATCH] fix:ospf主监测表提交
---
src/main/resources/mybatis/mapper/FailureLoggingMapper.xml | 32 ++++++++++++++++++++++++++++++++
1 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mybatis/mapper/FailureLoggingMapper.xml b/src/main/resources/mybatis/mapper/FailureLoggingMapper.xml
index 516ef98..5fa2550 100644
--- a/src/main/resources/mybatis/mapper/FailureLoggingMapper.xml
+++ b/src/main/resources/mybatis/mapper/FailureLoggingMapper.xml
@@ -150,4 +150,36 @@
</select>
+ <update id="updateById" parameterType="com.wgcloud.entity.FailureLogging">
+ UPDATE FAILURE_LOGGING
+ <set>
+ <if test="oldDeviceName != null">
+ OLD_DEVICE_NAME = #{oldDeviceName},
+ </if>
+ <if test="oldDeviceIp != null">
+ OLD_DEVICE_IP = #{oldDeviceIp},
+ </if>
+ <if test="oldDeviceModel != null">
+ OLD_DEVICE_MODEL = #{oldDeviceModel},
+ </if>
+ <if test="newDeviceName != null">
+ NEW_DEVICE_NAME = #{newDeviceName},
+ </if>
+ <if test="newDeviceIp != null">
+ NEW_DEVICE_IP = #{newDeviceIp},
+ </if>
+ <if test="newDeviceModel != null">
+ NEW_DEVICE_MODEL = #{newDeviceModel},
+ </if>
+ <if test="personName != null">
+ PERSON_NAME = #{personName},
+ </if>
+ <if test="personDate != null">
+ PERSON_DATE = #{personDate}
+ </if>
+ </set>
+ WHERE ID = #{id}
+ </update>
+
+
</mapper>
--
Gitblit v1.9.1