2023-06-05 15:19:38 +08:00
|
|
|
|
package com.njcn.influx.imapper;
|
|
|
|
|
|
|
2023-07-26 11:20:12 +08:00
|
|
|
|
import com.njcn.influx.ano.Param;
|
|
|
|
|
|
import com.njcn.influx.ano.Select;
|
2023-06-05 15:19:38 +08:00
|
|
|
|
import com.njcn.influx.base.InfluxDbBaseMapper;
|
2023-07-26 11:20:12 +08:00
|
|
|
|
import com.njcn.influx.pojo.bo.HarmonicHistoryData;
|
2023-06-05 15:19:38 +08:00
|
|
|
|
import com.njcn.influx.pojo.dto.StatisticalDataDTO;
|
|
|
|
|
|
import com.njcn.influx.pojo.po.PowerQualityData;
|
|
|
|
|
|
import com.njcn.influx.query.InfluxQueryWrapper;
|
|
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 类的介绍:
|
|
|
|
|
|
*
|
|
|
|
|
|
* @author xuyang
|
|
|
|
|
|
* @version 1.0.0
|
|
|
|
|
|
* @createTime 2023/5/5 14:39
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
public interface CommonMapper extends InfluxDbBaseMapper<PowerQualityData> {
|
|
|
|
|
|
|
2023-06-06 08:47:23 +08:00
|
|
|
|
StatisticalDataDTO getLineRtData(InfluxQueryWrapper influxQueryWrapper);
|
|
|
|
|
|
|
2023-06-15 16:12:46 +08:00
|
|
|
|
List<StatisticalDataDTO> getDeviceRtData(InfluxQueryWrapper influxQueryWrapper);
|
|
|
|
|
|
|
|
|
|
|
|
List<StatisticalDataDTO> getDeviceRtDataByTime(InfluxQueryWrapper influxQueryWrapper);
|
2023-06-21 09:20:53 +08:00
|
|
|
|
|
|
|
|
|
|
StatisticalDataDTO getLineHistoryData(InfluxQueryWrapper influxQueryWrapper);
|
2023-07-26 11:20:12 +08:00
|
|
|
|
|
|
|
|
|
|
@Select(value = "#{sql}",resultType = StatisticalDataDTO.class)
|
|
|
|
|
|
StatisticalDataDTO selectBySql(@Param("sql") StringBuilder sql);
|
|
|
|
|
|
|
|
|
|
|
|
@Select(value = "#{sql}",resultType = StatisticalDataDTO.class)
|
|
|
|
|
|
List<?> selectLimitTargetBySql(@Param("sql")String sql);
|
|
|
|
|
|
|
|
|
|
|
|
@Select(value = "#{sql}",resultType = HarmonicHistoryData.class)
|
|
|
|
|
|
List<HarmonicHistoryData> getHistoryResult(@Param("sql")String sql);
|
2023-08-30 15:55:45 +08:00
|
|
|
|
|
|
|
|
|
|
List<StatisticalDataDTO> getTopTemperature(InfluxQueryWrapper influxQueryWrapper);
|
2023-06-05 15:19:38 +08:00
|
|
|
|
}
|