From 8665daa7aa863f96d0d8f27c167edae1efc38022 Mon Sep 17 00:00:00 2001
From: zjk <852185829@qq.com>
Date: 星期五, 31 七月 2026 14:46:19 +0800
Subject: [PATCH] Merge branch 'master' into dev
---
ruoyi-system/src/main/resources/mapper/system/SysVisitorMachineMapper.xml | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/ruoyi-system/src/main/resources/mapper/system/SysVisitorMachineMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysVisitorMachineMapper.xml
index 89d55c5..0a36cfa 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysVisitorMachineMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysVisitorMachineMapper.xml
@@ -158,6 +158,9 @@
<if test="deviceId != null and deviceId != ''">
device_id = #{deviceId},
</if>
+ <if test="onlineStatus != null and onlineStatus != ''">
+ online_status = #{onlineStatus},
+ </if>
<if test="enabled != null">
enabled = #{enabled}, <!-- 注意:enabled 可能是 Boolean 或 Integer,若允许 false 或 0,则只判 null -->
</if>
@@ -175,7 +178,7 @@
update_time = sysdate()
</set>
where machine_id = #{machineId}
- and del_flag = '0'
+ and del_flag = '0'
</update>
<update id="updateEnabled">
--
Gitblit v1.7.1