BaseAlarmService.java 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. package com.usky.iot.service;
  2. import com.usky.common.core.bean.CommonPage;
  3. import com.usky.iot.domain.BaseAlarm;
  4. import com.usky.common.mybatis.core.CrudService;
  5. import com.usky.iot.domain.BaseGgpFacility;
  6. import com.usky.iot.service.vo.BaseAlarmListVO;
  7. import com.usky.iot.service.vo.BaseAlarmRequestVO;
  8. import com.usky.iot.service.vo.BaseAlarmResponeVO;
  9. import org.springframework.web.bind.annotation.RequestBody;
  10. import org.springframework.web.bind.annotation.RequestParam;
  11. import java.util.List;
  12. import java.util.Map;
  13. /**
  14. * <p>
  15. * 统一告警表 服务类
  16. * </p>
  17. *
  18. * @author han
  19. * @since 2023-07-13
  20. */
  21. public interface BaseAlarmService extends CrudService<BaseAlarm> {
  22. CommonPage<BaseAlarmResponeVO> statistic(BaseAlarmRequestVO baseAlarmRequestVO);
  23. CommonPage<BaseAlarm> page(BaseAlarmListVO baseAlarmListVO);
  24. void deviceOffLineAlarm();
  25. CommonPage<BaseAlarmResponeVO> statistic_notoken(BaseAlarmRequestVO baseAlarmRequestVO);
  26. CommonPage<BaseAlarm> page_notoken(BaseAlarmListVO baseAlarmListVO);
  27. List<BaseAlarm> getScreenAlarmList();
  28. void update(BaseAlarm baseAlarm);
  29. boolean add(BaseAlarm baseAlarm);
  30. /**
  31. * 综合云图-告警统计
  32. * @return
  33. */
  34. List<Object> alarmStatistic(Integer deptId);
  35. /**
  36. * 实时报警-报警统计
  37. * @return
  38. */
  39. List<Map<String,Object>> alarmStatisticDay(String startTime, String endTime);
  40. }