package com.ruoyi.system.mapper;

import com.ruoyi.common.biz.IMapper;
import com.ruoyi.system.domain.SysDeviceStatus;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;

/**
 * 设备状态Mapper接口
 * 
 * @author ruoyi
 * @date 2023-08-16
 */
public interface SysDeviceStatusMapper extends IMapper<SysDeviceStatus, Long>
{
    /**
     * 查询设备状态
     * 
     * @param id 设备状态主键
     * @return 设备状态
     */
    public Mono<SysDeviceStatus> selectById(Long id);

    /**
     * 查询设备状态列表
     * 
     * @param sysDeviceStatus 设备状态
     * @return 设备状态集合
     */
    public Flux<SysDeviceStatus> selectList(SysDeviceStatus sysDeviceStatus);

    Mono<SysDeviceStatus> selectByFunctionId(String functionId);

}
