From 4a293865ac437a812eea8800cc0b04314efbd210 Mon Sep 17 00:00:00 2001 From: ‘liusuyi’ <1951119284@qq.com> Date: 星期二, 24 十月 2023 10:06:24 +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