package org.jeecg.modules.energy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.energy.entity.BuElectric;
import org.jeecg.modules.energy.entity.BuVibration;

import java.util.List;



/**
 * @Description: 振动数据表模板
 * @Author: jeecg-boot
 * @Date:   2024-05-09
 * @Version: V1.0
 */
public interface BuVibrationMapper extends BaseMapper<BuVibration> {

//    public BuVibration getBySensorId(@Param("tableName") String tableName, @Param("sensorId") String sensorId);
    public List<BuVibration> getBySensorId(@Param("tableName") String tableName, @Param("sensorId") String sensorId);

    public List<BuVibration> getBySensorIdLimit(@Param("tableName") String tableName, @Param("sensorId") String sensorId);

    public List<BuVibration> getBuVibrationData();
    public List<BuVibration> getVibrationByStatus();
}
