From f7808f3ca0c86217e1069d4aafcb9854f545f3c9 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期二, 21 一月 2025 11:59:29 +0800
Subject: [PATCH] 批量审核离线工单修改pingonline
---
ycl-server/src/main/resources/mapper/zgyw/TMonitorMapper.xml | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/ycl-server/src/main/resources/mapper/zgyw/TMonitorMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/TMonitorMapper.xml
index 2c6604a..cd84be6 100644
--- a/ycl-server/src/main/resources/mapper/zgyw/TMonitorMapper.xml
+++ b/ycl-server/src/main/resources/mapper/zgyw/TMonitorMapper.xml
@@ -691,6 +691,18 @@
AND t_monitor.serial_number = t_yw_point.serial_number )
</foreach>
</update>
+
+ <update id="updateOnlineFromHk">
+ <foreach collection="onlineList" item="online" separator=";">
+ UPDATE
+ t_yw_point
+ SET
+ online = #{online.online},
+ update_time = #{online.updateTime}
+ WHERE
+ serial_number = #{online.serialNumber}
+ </foreach>
+ </update>
<update id="batchUpdateOnline">
UPDATE
t_yw_point p
--
Gitblit v1.8.0