From 38f29e38fcc668171dc05c53d40a36b895c86102 Mon Sep 17 00:00:00 2001
From: liusuyi <1951119284@qq.com>
Date: 星期四, 10 十月 2024 13:34:28 +0800
Subject: [PATCH] init

---
 ard-work/src/main/resources/mapper/alarm/ArdAlarmFilterMapper.xml |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/ard-work/src/main/resources/mapper/alarm/ArdAlarmFilterMapper.xml b/ard-work/src/main/resources/mapper/alarm/ArdAlarmFilterMapper.xml
index 2a5e9c2..50a42b1 100644
--- a/ard-work/src/main/resources/mapper/alarm/ArdAlarmFilterMapper.xml
+++ b/ard-work/src/main/resources/mapper/alarm/ArdAlarmFilterMapper.xml
@@ -102,4 +102,11 @@
             #{id}
         </foreach>
     </delete>
+    <update id="batchRecoveryArdAlarmFilterByIds" parameterType="String">
+        update ard_alarm_filter set end_time=now()::timestamp(0)
+        where id in
+        <foreach item="id" collection="array" open="(" separator="," close=")">
+            #{id}
+        </foreach>
+    </update>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.3