From 67af71cb4de71b1267e6300b7581cb6ccc8aa1d3 Mon Sep 17 00:00:00 2001
From: ‘liusuyi’ <1951119284@qq.com>
Date: 星期六, 24 六月 2023 16:00:17 +0800
Subject: [PATCH] 优化ptz的websocket推送

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

diff --git a/ard-work/src/main/resources/mapper/alarm/ArdAlarmTubeMapper.xml b/ard-work/src/main/resources/mapper/alarm/ArdAlarmTubeMapper.xml
index fa71583..b81216b 100644
--- a/ard-work/src/main/resources/mapper/alarm/ArdAlarmTubeMapper.xml
+++ b/ard-work/src/main/resources/mapper/alarm/ArdAlarmTubeMapper.xml
@@ -73,6 +73,7 @@
             <if test="recordUrl != null  and recordUrl != ''">and record_url = #{recordUrl}</if>
             <if test="viewTime != null ">and view_time = #{viewTime}</if>
         </where>
+        order by alarm_time desc
     </select>
 
     <select id="selectArdAlarmTubeById" parameterType="String" resultMap="ArdAlarmTubeResult">

--
Gitblit v1.9.3