AlarmPowerMapper.java 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. package com.bizmatics.persistence.mapper;
  2. import com.baomidou.mybatisplus.core.metadata.IPage;
  3. import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
  4. import com.bizmatics.model.AlarmPower;
  5. import com.bizmatics.common.mvc.base.CrudMapper;
  6. import org.apache.ibatis.annotations.Param;
  7. import java.util.Date;
  8. import java.util.List;
  9. import java.util.Map;
  10. /**
  11. * <p>
  12. * 电力告警 Mapper 接口
  13. * </p>
  14. *
  15. * @author ya
  16. * @since 2021-07-07
  17. */
  18. public interface AlarmPowerMapper extends CrudMapper<AlarmPower> {
  19. /**
  20. * 查询告警数量
  21. * @param userId
  22. * @param siteId
  23. * @param handlingStatus
  24. * @return
  25. */
  26. Integer selectCount(@Param("userId") Integer userId,
  27. @Param("siteId") Integer siteId,
  28. @Param("handlingStatus") Integer handlingStatus,
  29. @Param("startTime") Date startTime,
  30. @Param("endTime") Date endTime);
  31. Page<AlarmPower> page(IPage<AlarmPower> page,
  32. @Param("userId") Integer userId,
  33. @Param("siteId") Integer siteId,
  34. @Param("handlingStatus") Integer handlingStatus,
  35. @Param("startTime") Date startTime,
  36. @Param("endTime") Date endTime);
  37. }