| | |
| | | values (#{id}, #{name},#{describe},#{catalogText},#{description}, #{startTime}, #{endTime}, |
| | | #{viewTime},#{longitude},#{latitude},#{altitude},#{createBy},#{createTime},#{userId},#{deptId}) |
| | | </insert> |
| | | |
| | | <select id="stealelecYear" resultType="com.ruoyi.statistical.vo.CountVo"> |
| | | select to_char(start_time::DATE, 'MM') as date,count(id) |
| | | from ard_alarm_stealelec |
| | | where start_time >= #{start} and start_time <= #{end} group by date order by date |
| | | </select> |
| | | |
| | | <select id="stealelecMonth" resultType="com.ruoyi.statistical.vo.CountVo"> |
| | | select to_char(start_time::DATE, 'dd') as date,count(id) |
| | | from ard_alarm_stealelec |
| | | where start_time >= #{start} and start_time <= #{end} group by date order by date |
| | | </select> |
| | | </mapper> |