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