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

import com.huigou.topsun.sap.clientMaterials.domain.ClientMaterials;
import com.huigou.topsun.sap.clientMaterials.domain.query.ClientMaterialsQueryRequest;
import com.huigou.topsun.sap.clientMaterials.vo.ClientMaterialsVo;

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

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

    String PROCESS_DEFINITION_KEY = "clientMaterialsProc";

    Map<String, Object> getClientMaterialsList(ClientMaterialsQueryRequest sapPermitVo);

    Map<String, Object> getClientMaterialsListFromSap(ClientMaterialsQueryRequest queryRequest);

    ClientMaterials getClientMaterialsById(String id);

    void deleteFromSap(ClientMaterials clientMaterials);

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