From 91b70d5ad2ada85cf00b25f7b9ecd9cf980bf138 Mon Sep 17 00:00:00 2001 From: liusuyi <1951119284@qq.com> Date: 星期一, 12 八月 2024 16:42:44 +0800 Subject: [PATCH] 优化:websocket接收消息 --- ard-work/src/main/resources/mapper/sy/ArdTankWallLockTemporaryMapper.xml | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/ard-work/src/main/resources/mapper/sy/ArdTankWallLockTemporaryMapper.xml b/ard-work/src/main/resources/mapper/sy/ArdTankWallLockTemporaryMapper.xml index ff0bbf4..a36f0bf 100644 --- a/ard-work/src/main/resources/mapper/sy/ArdTankWallLockTemporaryMapper.xml +++ b/ard-work/src/main/resources/mapper/sy/ArdTankWallLockTemporaryMapper.xml @@ -69,4 +69,12 @@ <delete id="deleteArdTankWallLockTemporaryByLockId" parameterType="java.lang.String"> delete from ard_tank_wall_lock_temporary where lock_id = #{lockId} </delete> + + <insert id="insertArdTankWallLockTemporaryList" parameterType="com.ruoyi.sy.domain.ArdTankWallLockTemporary" > + insert into ard_tank_wall_lock_temporary (id, wall_id, lock_id, process_type) values + <foreach collection ="ardTankWallLockTemporaryList" item="ardTankWallLockTemporary" separator =","> + (#{ardTankWallLockTemporary.id},#{ardTankWallLockTemporary.wallId},#{ardTankWallLockTemporary.lockId}, + #{ardTankWallLockTemporary.processType}) + </foreach > + </insert> </mapper> \ No newline at end of file -- Gitblit v1.9.3