PlatformAreaMapper.java 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. package com.bizmatics.persistence.mapper;
  2. import com.bizmatics.common.mvc.base.CrudMapper;
  3. import com.bizmatics.model.PlatformArea;
  4. import com.bizmatics.model.vo.PlatformAreaVo;
  5. import com.bizmatics.model.vo.SiteListVo;
  6. import org.apache.ibatis.annotations.Param;
  7. import java.util.List;
  8. /**
  9. * <p>
  10. * Mapper 接口
  11. * </p>
  12. *
  13. * @author ya
  14. * @since 2021-09-29
  15. */
  16. public interface PlatformAreaMapper extends CrudMapper<PlatformArea> {
  17. List<PlatformAreaVo> siteCount(@Param("platformAreaName") String platformAreaName,
  18. @Param("startCurrent") Integer startCurrent,
  19. @Param("size") Integer size,
  20. @Param("tenantId") Integer tenantId);
  21. int platformSiteCount(@Param("platformAreaName") String platformAreaName,
  22. @Param("startCurrent") Integer startCurrent,
  23. @Param("size") Integer size,
  24. @Param("tenantId") Integer tenantId);
  25. List<PlatformAreaVo> deviceCount(@Param("platformAreaName") String platformAreaName,
  26. @Param("tenantId") Integer tenantId);
  27. List<SiteListVo> deviceList(@Param("stationAreaId") int stationAreaId);
  28. }