package com.xunmei.iot.mapper; import com.xunmei.iot.dto.webStatisticBoard.BoardAlarmTrendDto; import com.xunmei.iot.dto.webStatisticBoard.BoardDeviceCountByTypeDto; import com.xunmei.iot.dto.webStatisticBoard.BoardDeviceCountDto; import com.xunmei.iot.vo.webStatisticBoard.*; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.List; import java.util.Date; @Mapper public interface IotWebStatisticBoardMapper { List deviceCount(Long orgId); BoardProtectionVo protection(Long orgId); List deviceOnline(@Param("orgId") Long orgId, @Param("deviceTypes") List deviceTypes); BoardHealthSummaryVo healthSummary(@Param("orgId") Long orgId, @Param("startTime") Date startTime, @Param("endTime") Date endTime); List healthRanking(@Param("orgId") Long orgId, @Param("startTime") Date startTime, @Param("endTime") Date endTime); List alarmTrend(@Param("orgId") Long orgId, @Param("startTime") Date startTime); BoardAlarmRateVo alarmRate(Long orgId); List alarmList(Long orgId); List orgDeviceCount(Long orgId); }