package com.njcn.influx.service.impl;

import com.njcn.influx.imapper.IDataIMapper;
import com.njcn.influx.pojo.po.DataI;
import com.njcn.influx.query.InfluxQueryWrapper;
import com.njcn.influx.service.IDataIService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * @author hongawen
 * @version 1.0.0
 * @date 2023年07月17日 11:05
 */
@Service
@RequiredArgsConstructor
public class IDataIServiceImpl implements IDataIService {

    private final IDataIMapper dataIMapper;

    @Override
    public DataI getMeanAllTimesData(InfluxQueryWrapper influxQueryWrapper) {
        return dataIMapper.getMeanAllTimesData(influxQueryWrapper);
    }
}
