From 06842b9c367083c3bf77b8b54a1e1a32b68a2e5e Mon Sep 17 00:00:00 2001
From: zhangnaisong <2434969829@qq.com>
Date: 星期六, 06 七月 2024 09:02:33 +0800
Subject: [PATCH] 电磁锁分页bug修改提交

---
 ard-work/src/main/resources/mapper/sy/ArdTankWallLockMapper.xml |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/ard-work/src/main/resources/mapper/sy/ArdTankWallLockMapper.xml b/ard-work/src/main/resources/mapper/sy/ArdTankWallLockMapper.xml
index 8085bea..1de0fbe 100644
--- a/ard-work/src/main/resources/mapper/sy/ArdTankWallLockMapper.xml
+++ b/ard-work/src/main/resources/mapper/sy/ArdTankWallLockMapper.xml
@@ -73,4 +73,12 @@
     <delete id="deleteArdTankWallLockByWallId" parameterType="java.lang.String">
         delete from ard_tank_wall_lock where wall_id = #{wallId}
     </delete>
+
+    <update id="updateArdTankWallLockByWallIdAndLockId" parameterType="ArdTankWallLock">
+        update ard_tank_wall_lock
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="processType != null">process_type = #{processType},</if>
+        </trim>
+        where wall_id = #{wallId} and lock_id = #{lockId}
+    </update>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.3