From 7211da2b3ae401413bb6d3c2d4ca431cf17d4c7e Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期四, 29 八月 2024 16:27:05 +0800 Subject: [PATCH] 工单生成逻辑判断bug --- 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