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


import org.jeecg.modules.sensor.entity.BuStatus;
import org.jeecg.modules.sensor.mapper.BuStatusMapper;
import org.jeecg.modules.sensor.service.IBuStatusService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

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

/**
 * @Description: 状态表
 * @Author: jeecg-boot
 * @Date:   2024-05-07
 * @Version: V1.0
 */
@Service
public class BuStatusServiceImpl extends ServiceImpl<BuStatusMapper, BuStatus> implements IBuStatusService {

    @Autowired
    private BuStatusMapper buStatusMapper;

    @Override
    public BuStatus getDataBySensorId(String sensorId){
        return buStatusMapper.getDataBySensorId(sensorId);
    }
}
