package com.huigou.topsun.sap.processOutsource.application;

import com.huigou.topsun.sap.processOutsource.domain.ProcessOutsourceOrderItem;
import com.huigou.topsun.sap.processOutsource.domain.query.ProcessOutsourceQueryRequest;

import java.util.List;
import java.util.Map;

/**
 * @Auther: xin.lu
 * @Date: 2024/08/02/10:01
 * @Description:
 */
public interface ProcessOutsourceOrderItemApplication {
    public static final String QUERY_XML_FILE_PATH = "config/topsun/sap/processOutsource/processOutsource.xml";
    void saveProcessOutsourceOrderItems(String sapPurchaseId, List<ProcessOutsourceOrderItem> processOutsourceOrderItems);

    Map<String,Object> queryProcessOutsourceOrderItems(ProcessOutsourceQueryRequest queryRequest);

    void deleteByIds(List<String> ids);

    List<ProcessOutsourceOrderItem> findByProcessOutsourceId(String processOutsourceId);
}
