package com.aircraft.modules.aircraft.mapper;

import com.aircraft.modules.aircraft.domain.AircraftDevice;
import com.aircraft.modules.aircraft.domain.dto.AircraftDevicePageDTO;
import com.aircraft.modules.aircraft.domain.vo.AircraftDevicePageVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 飞行器设备表 Mapper 接口
 * </p>
 *
 * @author cli
 * @since 2025-07-11
 */
public interface AircraftDeviceMapper extends BaseMapper<AircraftDevice> {

    List<AircraftDevice> getAircraftDeviceById(List<Long> deviceIds);


    /**
     * 分页查询 飞行器设备
     */
    IPage<AircraftDevicePageVO> page(@Param("search") AircraftDevicePageDTO search, Page page);
}
