From f47ca83956575f49572a6f20166d98b7ca7af2fb Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期三, 28 八月 2024 17:55:03 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- 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