package com.zksy.api.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zksy.api.domain.WarningThreshold;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author Administrator
* @description 针对表【warning_threshold(预警阈值)】的数据库操作Service
* @createDate 2025-09-01 09:59:43
*/
@Mapper
public interface WarningThresholdService extends IService<WarningThreshold> {
    /**
     * 根据设备编号查询该设备所有预警值
     */
    WarningThreshold getWarningThresholdByDeviceAndCode(String deviceCode, String warningCode);
}
