package org.jeecg.modules.sensor.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.sensor.entity.AlarmPart;

/**
 * @Description: alarm_part
 * @Author: jeecg-boot
 * @Date:   2024-05-17
 * @Version: V1.0
 */
public interface AlarmPartMapper extends BaseMapper<AlarmPart> {

    public AlarmPart getDataByIdAndName(@Param("sensorId") String sensorId,@Param("field") String field);

    public AlarmPart getCurrentData(@Param("field") String field);
}
