From e310add870b775a74f52ce44dd1118f46bb09cbb Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期四, 29 八月 2024 11:31:20 +0800
Subject: [PATCH] 调试

---
 ycl-server/src/main/resources/mapper/zgyw/TMonitorMapper.xml |   10 ++++++++++
 1 files changed, 10 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 bffff72..b97bffc 100644
--- a/ycl-server/src/main/resources/mapper/zgyw/TMonitorMapper.xml
+++ b/ycl-server/src/main/resources/mapper/zgyw/TMonitorMapper.xml
@@ -223,6 +223,16 @@
         </trim>
     </insert>
 
+    <update id="batchUpdateDeviceType">
+        <foreach collection="list" separator=";" item="item">
+            UPDATE t_monitor
+            SET
+            update_time = #{item.updateTime},
+            device_type = #{item.deviceType}
+            WHERE id = #{item.id}
+        </foreach>
+    </update>
+
     <update id="updateTMonitor" parameterType="com.ycl.platform.domain.entity.TMonitor">
         update t_monitor
         <trim prefix="SET" suffixOverrides=",">

--
Gitblit v1.8.0