aijinhui
2023-10-07 2b29a4a26019e3d1692c4b4c76746dba9fac7b22
ard-work/src/main/resources/mapper/alarm/ArdAlarmWallMapper.xml
@@ -162,4 +162,9 @@
          and create_time <= #{createTime}
          and view_time is null
    </update>
    <select id="wallYear" resultType="com.ruoyi.statistical.vo.CountVo">
        select to_char(alarm_time::DATE, 'MM') as month,count(id)
        from ard_alarm_wall
        where alarm_time &gt;= #{start} and  alarm_time &lt;= #{end}  group by month order by month
    </select>
</mapper>