package org.jeecg.modules.energy.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.energy.entity.BuAirNoise;
import org.jeecg.modules.energy.entity.BuAirSmoke;
import org.jeecg.modules.energy.entity.BuAirWater;

import java.util.List;

/**
 * @Description: bu_air_water_online
 * @Author: jeecg-boot
 * @Date:   2024-10-11
 * @Version: V1.0
 */
public interface IBuAirWaterService extends IService<BuAirWater> {


    public List<BuAirWater> getBySensorId(String tableName, String sensorId);

    public List<BuAirWater> getAirWaterData();

    public List<BuAirWater> getAirWaterByStatus();

    IPage<BuAirWater> selectByDynamicTable(Page<BuAirWater> page, String tableName, String deviceId, String sensorId, String beginTime, String endTime);
    List<BuAirWater> selectByDynamicTable(String tableName, String deviceId, String sensorId, String beginTime, String endTime);

}
