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

import com.huigou.topsun.sap.processOutsource.domain.ProcessOutsource;
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 ProcessOutsourceApplication {
    public static final String QUERY_XML_FILE_PATH = "config/topsun/sap/processOutsource/processOutsource.xml";

    String PROCESS_DEFINITION_KEY = "processOutsourceProc";

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

    ProcessOutsource loadProcessOutsource(String id);

    /**
     * 根据编排单查询工单
     * @param arrangeNo
     * @return
     */
    List<Map<String,String>> queryAufnrFromMes(String arrangeNo);
}
