AlarmPowerService.java 1018 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. package com.bizmatics.service;
  2. import com.bizmatics.common.core.bean.CommonPage;
  3. import com.bizmatics.model.AlarmPower;
  4. import com.bizmatics.common.mvc.base.CrudService;
  5. import com.bizmatics.service.vo.ApCountVO;
  6. import com.bizmatics.service.vo.CommonIcoVO;
  7. import java.util.Date;
  8. import java.util.List;
  9. /**
  10. * <p>
  11. * 电力告警 服务类
  12. * </p>
  13. *
  14. * @author ya
  15. * @since 2021-07-07
  16. */
  17. public interface AlarmPowerService extends CrudService<AlarmPower> {
  18. /**
  19. * 告警总数和未处理告警总数
  20. * @return
  21. */
  22. ApCountVO selectCount(Integer siteId);
  23. /**
  24. * 告警趋势图
  25. * @return
  26. */
  27. List<CommonIcoVO> selectByDate(Integer days,Date endTime,Integer siteId);
  28. /**
  29. * list
  30. * @param startTime 开始时间
  31. * @param endTime 结束时间
  32. * @param status 状态
  33. * @param siteId 站点id
  34. * @return
  35. */
  36. CommonPage<AlarmPower> page(Date startTime, Date endTime, Integer status, Integer siteId, Integer current, Integer size);
  37. }