package com.ycwl.basic.mapper;

import com.ycwl.basic.model.pc.device.resp.DeviceRespVO;
import com.ycwl.basic.model.pc.extraDevice.resp.ExtraDeviceRespVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ExtraDeviceMapper {
    List<DeviceRespVO> listExtraDeviceByScenicId(Long scenicId);

    /**
     * 分页查询外部设备列表
     * @param scenicId 景区ID (可选)
     * @return 外部设备列表
     */
    List<ExtraDeviceRespVO> pageQuery(@Param("scenicId") Long scenicId);
}
