package com.huigou.topsun.mes.produceException.application;

import com.huigou.topsun.mes.produceException.domain.ProduceException;
import com.huigou.topsun.mes.produceException.domain.query.ProduceExceptionQueryRequest;
import com.huigou.topsun.mes.produceException.domain.vo.ProduceExceptionVo;

import java.util.Map;

/**
 * @Auther: xin.lu
 * @Date: 2024/08/12/10:29
 * @Description:
 */
public interface ProduceExceptionApplication {
    public static final String QUERY_XML_FILE_PATH = "config/topsun/mes/produceException/produceException.xml";

    String PROCESS_DEFINITION_KEY = "produceExceptionProc";

    ProduceException findProduceExceptionById(String id);

    ProduceException saveProduceException(ProduceException produceException);

    Map<String, Object> slicedProduceExceptionList(ProduceExceptionQueryRequest queryRequest);

    void saveMesProduceExceptionVo(ProduceExceptionVo produceExceptionVo);
}
