package org.jeecg.modules.energy.service.impl;


import org.jeecg.modules.energy.entity.BuAirQuality;
import org.jeecg.modules.energy.entity.BuAirSmoke;
import org.jeecg.modules.energy.entity.BuAirWater;
import org.jeecg.modules.energy.mapper.BuAirSmokeMapper;
import org.jeecg.modules.energy.service.IBuAirSmokeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.Collections;
import java.util.List;

/**
 * @Description: bu_air_smoke_online
 * @Author: jeecg-boot
 * @Date:   2024-10-11
 * @Version: V1.0
 */
@Service
public class BuAirSmokeServiceImpl extends ServiceImpl<BuAirSmokeMapper, BuAirSmoke> implements IBuAirSmokeService {
    @Autowired
    private  BuAirSmokeMapper buAirSmokeMapper;

    @Override
    public List<BuAirSmoke> getBySensorId(String tableName, String sensorId) {
        return buAirSmokeMapper.getBySensorId(tableName,sensorId);
    }

    @Override
    public List<BuAirSmoke> getAirSmokeData() {
        return buAirSmokeMapper.getAirSmokeData();
    }

    @Override
    public List<BuAirSmoke> getAirSmokeByStatus() {
        return buAirSmokeMapper.getAirSmokeByStatus();
    }
}
