From fac4425e76ee53a0a77373d87cb0563387364f0e Mon Sep 17 00:00:00 2001
From: ‘liusuyi’ <1951119284@qq.com>
Date: 星期五, 10 十一月 2023 13:58:15 +0800
Subject: [PATCH] 增加递归获取部门和雷达组织

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

diff --git a/ard-work/src/main/resources/mapper/alarm/ArdAlarmRadarMoveMapper.xml b/ard-work/src/main/resources/mapper/alarm/ArdAlarmRadarMoveMapper.xml
index 53eb25c..3ec6951 100644
--- a/ard-work/src/main/resources/mapper/alarm/ArdAlarmRadarMoveMapper.xml
+++ b/ard-work/src/main/resources/mapper/alarm/ArdAlarmRadarMoveMapper.xml
@@ -179,7 +179,7 @@
         where alarm_time &gt;= #{start} and  alarm_time &lt;= #{end}  group by date order by date
     </select>
     <select id="ten" resultType="com.ruoyi.statistical.vo.TenVo">
-        SELECT name,count(name) num from ard_alarm_radar_move
-        where (current_timestamp - interval '1024 hour') &lt;= alarm_time GROUP BY name ORDER BY num desc LIMIT 10
+        SELECT name,count(name) as "value" from ard_alarm_radar_move
+        where (current_timestamp - interval '1024 hour') &lt;= alarm_time GROUP BY name ORDER BY "value" desc LIMIT 10
     </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.3