AllAlarmInfoLogDao.java 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. package com.welampiot.dao;
  2. import com.welampiot.dto.AllAlarmInfoLogDTO;
  3. import com.welampiot.vo.AllAlarmInfoLogVO;
  4. import com.welampiot.vo.OperationVO;
  5. import org.apache.ibatis.annotations.Param;
  6. import java.util.List;
  7. public interface AllAlarmInfoLogDao {
  8. List<AllAlarmInfoLogDTO> getListByVO(AllAlarmInfoLogVO allAlarmInfoLogVO);
  9. List<AllAlarmInfoLogDTO> getListByAllAlarmInfoLogVO(AllAlarmInfoLogVO vo);
  10. Integer getUnTreatedCountByStatus(AllAlarmInfoLogVO vo);
  11. Integer getProcessingCountByStatus(AllAlarmInfoLogVO vo);
  12. Integer getHandleCountByStatus(AllAlarmInfoLogVO vo);
  13. void updateAlarmStatusByAlarmId(AllAlarmInfoLogDTO dto);
  14. Integer getAlarmTotalByStatus(AllAlarmInfoLogVO vo);
  15. List<AllAlarmInfoLogDTO> getAlarmListBySectionList(@Param("sectionList") List<Integer> sectionList);
  16. List<AllAlarmInfoLogDTO> getLampAlarmListByVO(AllAlarmInfoLogVO vo);
  17. List<AllAlarmInfoLogDTO> getLampPoleAlarmListByVO(AllAlarmInfoLogVO vo);
  18. List<AllAlarmInfoLogDTO> getWaterImmersionAlarmListByVO(AllAlarmInfoLogVO vo);
  19. List<AllAlarmInfoLogDTO> getElectricBoxAlarmListByVO(AllAlarmInfoLogVO vo);
  20. void updateAlarmStatus(AllAlarmInfoLogDTO dto);
  21. Integer getAllAlarmInfoLogCount(OperationVO vo);
  22. List<AllAlarmInfoLogDTO> getAllAlarmCountOnMonth(OperationVO vo);
  23. Integer getAlarmUntreatedCount(OperationVO vo);
  24. Integer getAlarmHandlingCount(OperationVO vo);
  25. Integer getAlarmHandledCount(OperationVO vo);
  26. List<AllAlarmInfoLogDTO> getManholeAlarmListByVO(AllAlarmInfoLogVO vo);
  27. Integer getLampPoleAlarmTotal(AllAlarmInfoLogVO vo);
  28. Integer getLampAlarmTotal(AllAlarmInfoLogVO vo);
  29. Integer getEleBoxAlarmTotal(AllAlarmInfoLogVO vo);
  30. Integer getWaterAlarmTotal(AllAlarmInfoLogVO vo);
  31. Integer getManholeAlarmTotal(AllAlarmInfoLogVO vo);
  32. AllAlarmInfoLogDTO getAlarmInfoDTOById(@Param("id") Integer id, @Param("version") Integer version);
  33. void deleteAlarmData(@Param("id") Integer id);
  34. List<AllAlarmInfoLogDTO> getAlarmOperationList(AllAlarmInfoLogVO vo);
  35. List<AllAlarmInfoLogDTO> getLampAlarmInfoList(AllAlarmInfoLogVO vo);
  36. Integer getOneLampPoleAlarmTotal(@Param("lampPoleId") Integer lampPoleId);
  37. List<AllAlarmInfoLogDTO> getOneLampPoleAlarmList(@Param("lampPoleId") Integer lampPoleId);
  38. }