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


import com.huigou.topsun.sap.componentSupply.domain.ComponentSupplyItem;
import com.huigou.topsun.sap.componentSupply.domain.query.ComponentSupplyQueryRequest;
import com.huigou.topsun.sap.permit.domain.SapPermitItem;
import com.huigou.topsun.sap.permit.domain.query.SapPermitQueryRequest;

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

/**
 * @Auther: LXH
 * @Date: 2024/06/03/10:35
 * @Description:
 */
public interface ComponentSupplyItemApplication {
    public static final String QUERY_XML_FILE_PATH = "config/topsun/sap/componentSupply/componentSupply.xml";

    void saveComponentSupplyItems(String sapRetirementId, List<ComponentSupplyItem> items);

    Map<String,Object> queryComponentSupplyItems(ComponentSupplyQueryRequest queryRequest);

    void deleteByIds(List<String> ids);

    List<ComponentSupplyItem> findByComponentSupplyId(String componentSupplyId);
}
