From f5fa6fa5e5d14fb3d8703434b30648be76b6e7e6 Mon Sep 17 00:00:00 2001
From: ‘liusuyi’ <1951119284@qq.com>
Date: 星期二, 12 十二月 2023 17:08:47 +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 >= #{start} and alarm_time <= #{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') <= 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') <= alarm_time GROUP BY name ORDER BY "value" desc LIMIT 10
</select>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.3