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

import com.huigou.topsun.sap.componentSupply.domain.ComponentSupply;
import com.huigou.topsun.sap.componentSupply.domain.query.ComponentSupplyQueryRequest;
import com.huigou.topsun.sap.componentSupply.vo.ComponentSupplyVo;
import com.huigou.topsun.sap.permit.domain.SapPermit;
import com.huigou.topsun.sap.permit.domain.query.SapPermitQueryRequest;
import com.huigou.topsun.sap.permit.vo.SapPermitVo;

import javax.servlet.http.HttpServletResponse;
import java.io.ByteArrayOutputStream;
import java.util.List;
import java.util.Map;

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

    String PROCESS_DEFINITION_KEY = "componentSupplyProc";

    Map<String, Object> getComponentSupplyList(ComponentSupplyQueryRequest sapPermitVo);

    ComponentSupply getComponentSupplyById(String id);

    void deleteByIds(List<String> ids);

    void saveComponentSupplyVo(ComponentSupplyVo componentSupplyVo);

   // ByteArrayOutputStream printInfo(HttpServletResponse response, String id);
}
