package com.ruoyi.system.mapper;


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

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

    /**
     * 查询设备列表
     * 
     * @param sysDevice 设备
     * @return 设备集合
     */
    public Flux<SysDevice> selectList(SysDevice sysDevice);

    Mono<SysDevice> selectByDeviceNo(String deviceNo);

}
