package com.aircraft.modules.order.mapper;

import com.aircraft.modules.order.domain.OrderDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 订单明细表 Mapper 接口
 * </p>
 *
 * @author cli
 * @since 2025-07-10
 */
@Repository
public interface OrderDetailMapper extends BaseMapper<OrderDetail> {

    List<OrderDetail> getOrderDetailsByOrderIds(List<Long> orderIds);

    List<OrderDetail> getOrderDetailsByOrderId(Long id);
}
