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

import com.huigou.topsun.sap.purchase.domain.SapPurchaseItem;
import com.huigou.topsun.sap.purchaseApproval.domain.SapPurchaseApprovalItem;
import com.huigou.topsun.sap.purchaseApproval.domain.query.SapPurchaseApprovalItemQueryRequest;

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

/**
 * @Auther: xin.lu
 * @Date: 2024/01/09/19:19
 * @Description:
 */
public interface SapPurchaseApprovalItemApplication {
    public static final String QUERY_XML_FILE_PATH = "config/topsun/sap/sapPurchaseApproval/sapPurchaseApprovalItem.xml";
    void saveSapPurchaseApprovalItems(String sapPurchaseApprovalId, List<SapPurchaseApprovalItem> sapPurchaseApprovalItems);

    void deleteByIds(List<String> ids);

    Map<String, Object> querySapPurchaseApprovalItems(SapPurchaseApprovalItemQueryRequest queryRequest);

    List<SapPurchaseApprovalItem> querySapPurchaseApprovalItems(String sapPurchaseApprovalId);
}
