package com.welampiot.dao; import com.welampiot.dto.TranshInfoDTO; import org.apache.ibatis.annotations.Param; import java.util.List; /** * ClassName: TranshInfoDao * Package: com.welampiot.dao * Description: * * @Author: zhj_Start * @Create: 2023/4/7 - 11:00 * @Version: v1.0 */ public interface TranshInfoDao { Integer getTotalBySectionList(@Param("sectionList") List sectionList); Integer getOnlineTotalBySectionList(@Param("sectionList") List sectionList); Integer getAlarmTotalBySectionList(@Param("sectionList") List sectionList); Integer getNormalTotalBySectionList(@Param("sectionList") List sectionList); /** 获取设备信息列表 **/ List getTranshListByDTO(TranshInfoDTO dto); /** 获取设备日志 **/ List getHistoryListByDTO(TranshInfoDTO dto); void addTranshDataByDTO(TranshInfoDTO dto); void updateTranshDataByTranshId(TranshInfoDTO dto); Integer findByDTO(TranshInfoDTO dto); Integer checkDataByDTO(TranshInfoDTO dto); void deleteTrashDevById(@Param("id") Integer id); void deleteTrashDevLogById(@Param("id") Integer id); }