package com.cf.imes.module.executor.service.orderitem;

import com.cf.imes.module.executor.dal.dataobject.orderItem.OrderItemDO;

import java.util.List;

/**
 *
 * 订单明细 Service
 *
 * @author Gqr
 * @since 2026/3/18 11:29
 */
public interface OrderItemService {
    /**
     * 查询板件订单明细关联的部件id
     *
     * @param plateId
     * @return
     */
    List<OrderItemDO> getPlateItemCompId(Long orderId, Long plateId);

    /**
     * 查询配件订单明细关联的部件id
     *
     * @param partId
     * @return
     */
    List<OrderItemDO> getPartItemCompId(Long partId);

    /**
     *
     * @param componentIds
     * @param orderIds
     * @return
     */
    List<String> getComponentIdsCorrelationItemIds(List<Long> orderIds, List<Long> componentIds, List<Long> groupIds);
}