From aff3af669362fc9b0743e3d3319ac9e20ba822eb Mon Sep 17 00:00:00 2001
From: ‘liusuyi’ <1951119284@qq.com>
Date: 星期日, 08 十月 2023 15:06:31 +0800
Subject: [PATCH] 归纳分类定时任务 任务列表和任务日志按时间逆序排列
---
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