Commit 49a6f210 by 李小龙

fix: 设备告警数据

parent 9e1968ff
......@@ -29,7 +29,7 @@
</sql>
<select id="getDayMaxDurationList" resultType="com.makeit.entity.platform.alarm.PlatDayDurationRecord">
select
pddr.ori_device_id,
pddr.device_id,
pddr.day,
max(pddr.duration) as duration
from plat_day_duration_record pddr
......@@ -47,7 +47,7 @@
</foreach>
</if>
</where>
group by pddr.ori_device_id, pddr.day
group by pddr.device_id, pddr.day
order by duration
</select>
</mapper>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment