| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- 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<TranshInfoDTO> sectionList);
- Integer getOnlineTotalBySectionList(@Param("sectionList") List<TranshInfoDTO> sectionList);
- Integer getAlarmTotalBySectionList(@Param("sectionList") List<TranshInfoDTO> sectionList);
- Integer getNormalTotalBySectionList(@Param("sectionList") List<TranshInfoDTO> sectionList);
- /** 获取设备信息列表 **/
- List<TranshInfoDTO> getTranshListByDTO(TranshInfoDTO dto);
- /** 获取设备日志 **/
- List<TranshInfoDTO> 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);
- }
|