From d3fa75d27b2169cc0fffe6b8f0079e49dfa8c85f Mon Sep 17 00:00:00 2001
From: ‘liusuyi’ <1951119284@qq.com>
Date: 星期二, 19 九月 2023 16:27:54 +0800
Subject: [PATCH] 优化日志

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

diff --git a/ard-work/src/main/resources/mapper/alarm/ArdAlarmExternalMapper.xml b/ard-work/src/main/resources/mapper/alarm/ArdAlarmExternalMapper.xml
index 636a8e5..0325f29 100644
--- a/ard-work/src/main/resources/mapper/alarm/ArdAlarmExternalMapper.xml
+++ b/ard-work/src/main/resources/mapper/alarm/ArdAlarmExternalMapper.xml
@@ -53,6 +53,7 @@
                 AND alarm_time &lt;= to_timestamp(#{params.endTime},'yyyy-MM-DD HH24:MI:ss')
             </if>
         </where>
+        order by alarm_time desc
     </select>
 
     <select id="selectArdAlarmExternalById" parameterType="String" resultMap="ArdAlarmExternalResult">

--
Gitblit v1.9.3