ard-work/src/main/resources/mapper/alarm/ArdAlarmTubeMapper.xml
@@ -195,5 +195,9 @@ and alarm_time <= #{alarmTime} and view_time is null </update> <select id="tubeYear" resultType="com.ruoyi.statistical.vo.CountVo"> select to_char(create_time::DATE, 'MM') as month,count(id) from ard_alarm_tube where create_time >= #{start} and create_time <= #{end} group by month order by month </select> </mapper>