From ca39aeadb7b19b2e854d5e2694e52b63ef9e8afe Mon Sep 17 00:00:00 2001 From: ‘liusuyi’ <1951119284@qq.com> Date: 星期二, 21 十一月 2023 14:35:00 +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