QueryInfluxdbDataService.java 972 B

1234567891011121314151617181920212223242526272829303132333435
  1. package com.usky.demo.service;
  2. import com.usky.demo.domain.*;
  3. import com.usky.common.mybatis.core.CrudService;
  4. import org.springframework.web.bind.annotation.RequestBody;
  5. import java.util.List;
  6. import java.util.Map;
  7. /**
  8. * <p>
  9. * 服务类
  10. * </p>
  11. *
  12. * @author ya
  13. * @since 2024-07-29
  14. */
  15. public interface QueryInfluxdbDataService extends CrudService<QueryInfluxdbData> {
  16. // 对外api begin
  17. LastResultVO queryLastDeviceData(String deviceUUId);
  18. List<LastResultVO> queryLastDeviceData(LastRequestVO requestVO);
  19. HistoryResultVO queryHistoryDeviceData(String deviceUUId, String startTime, String endTime);
  20. List<HistoryResultVO> queryHistoryDeviceData(HistoryRequestVO requestVO);
  21. // 对外api end
  22. // 对内接口 begin
  23. List<LastInnerResultVO> last(LastInnerQueryVO requestVO);
  24. List<HistorysInnerResultVO> history(HistorysInnerRequestVO requestVO);
  25. // 对内接口 end
  26. List<Map<String, Object>> getAllDeviceRealTime();
  27. }