From 6c47588406827fa706e4068c692de3be0ae0188e Mon Sep 17 00:00:00 2001 From: ‘liusuyi’ <1951119284@qq.com> Date: 星期一, 04 十二月 2023 11:04:26 +0800 Subject: [PATCH] 雷达引导追踪优化 --- ard-work/src/main/resources/mapper/alarm/ArdAlarmRadarFireMapper.xml | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ard-work/src/main/resources/mapper/alarm/ArdAlarmRadarFireMapper.xml b/ard-work/src/main/resources/mapper/alarm/ArdAlarmRadarFireMapper.xml index 6964d83..95ade6e 100644 --- a/ard-work/src/main/resources/mapper/alarm/ArdAlarmRadarFireMapper.xml +++ b/ard-work/src/main/resources/mapper/alarm/ArdAlarmRadarFireMapper.xml @@ -102,6 +102,7 @@ <if test="longitude != null">longitude = #{longitude},</if> <if test="latitude != null">latitude = #{latitude},</if> <if test="recordUrl1 != null">record_url1 = #{recordUrl1},</if> + <if test="recordUrl2 != null">record_url2 = #{recordUrl2},</if> <if test="viewTime != null">view_time = #{viewTime},</if> <if test="createBy != null">create_by = #{createBy},</if> <if test="createTime != null">create_time = #{createTime},</if> @@ -164,8 +165,13 @@ </select> <select id="fileYear" resultType="com.ruoyi.statistical.vo.CountVo"> - select to_char(alarm_time::DATE, 'MM') as month,count(id) + select to_char(alarm_time::DATE, 'MM') as date,count(id) from ard_alarm_radar_fire - where alarm_time >= #{start} and alarm_time <= #{end} group by month order by month + where alarm_time >= #{start} and alarm_time <= #{end} group by date order by date + </select> + <select id="fileMonth" resultType="com.ruoyi.statistical.vo.CountVo"> + select to_char(alarm_time::DATE, 'dd') as date,count(id) + from ard_alarm_radar_fire + where alarm_time >= #{start} and alarm_time <= #{end} group by date order by date </select> </mapper> \ No newline at end of file -- Gitblit v1.9.3