TranshInfoDao.java 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. package com.welampiot.dao;
  2. import com.welampiot.dto.TranshInfoDTO;
  3. import org.apache.ibatis.annotations.Param;
  4. import java.util.List;
  5. /**
  6. * ClassName: TranshInfoDao
  7. * Package: com.welampiot.dao
  8. * Description:
  9. *
  10. * @Author: zhj_Start
  11. * @Create: 2023/4/7 - 11:00
  12. * @Version: v1.0
  13. */
  14. public interface TranshInfoDao {
  15. Integer getTotalBySectionList(@Param("sectionList") List<TranshInfoDTO> sectionList);
  16. Integer getOnlineTotalBySectionList(@Param("sectionList") List<TranshInfoDTO> sectionList);
  17. Integer getAlarmTotalBySectionList(@Param("sectionList") List<TranshInfoDTO> sectionList);
  18. Integer getNormalTotalBySectionList(@Param("sectionList") List<TranshInfoDTO> sectionList);
  19. /** 获取设备信息列表 **/
  20. List<TranshInfoDTO> getTranshListByDTO(TranshInfoDTO dto);
  21. /** 获取设备日志 **/
  22. List<TranshInfoDTO> getHistoryListByDTO(TranshInfoDTO dto);
  23. void addTranshDataByDTO(TranshInfoDTO dto);
  24. void updateTranshDataByTranshId(TranshInfoDTO dto);
  25. Integer findByDTO(TranshInfoDTO dto);
  26. Integer checkDataByDTO(TranshInfoDTO dto);
  27. void deleteTrashDevById(@Param("id") Integer id);
  28. void deleteTrashDevLogById(@Param("id") Integer id);
  29. }