RtAnalogDataMapper.java 614 B

12345678910111213141516171819202122232425262728
  1. package com.bizmatics.persistence.mapper;
  2. import com.bizmatics.model.RtAnalogData;
  3. import com.bizmatics.common.mvc.base.CrudMapper;
  4. import org.apache.ibatis.annotations.Param;
  5. import org.springframework.stereotype.Repository;
  6. /**
  7. * <p>
  8. * Mapper 接口
  9. * </p>
  10. *
  11. * @author ya
  12. * @since 2021-07-07
  13. */
  14. @Repository
  15. public interface RtAnalogDataMapper extends CrudMapper<RtAnalogData> {
  16. /**
  17. * 查询电力总负荷
  18. * @param userId
  19. * @param siteId
  20. * @return
  21. */
  22. Double selectTotalLoad(@Param("userId") Integer userId,
  23. @Param("siteId") Integer siteId);
  24. }