package com.aucma.api.service;

import com.aucma.api.domain.vo.SAPResultBomVo;
import com.aucma.api.domain.vo.SAPResultOrderInfoVo;
import com.aucma.api.domain.vo.SAPResultVo;
import com.aucma.base.domain.BaseDeviceLedger;
import com.aucma.base.domain.BaseMaterialInfo;
import com.aucma.base.domain.BaseOrderInfo;
import com.aucma.base.domain.OrderBomInfo;
import com.aucma.production.domain.BaseBomInfo;

import java.text.ParseException;
import java.util.ArrayList;

/**
 * @Author YinQ
 * @create 2023-09-27 15:07
 */
public interface ISAPPutStorageService {


    /**
     * 转物料实体类 保存数据
     * @param resultVo
     * @return
     */
    public ArrayList<BaseMaterialInfo> insertSAPMaterialInfo(SAPResultVo resultVo);


    /**
     * 转换生产工单实体类 保存数据
     *
     * */
    public ArrayList<BaseOrderInfo> insertSAPBaseOrderInfo(SAPResultOrderInfoVo resultVo) throws ParseException;

    /**
     * 转设备台账实体类 保存数据
     * @param resultVo
     * @return
     */
    public ArrayList<BaseDeviceLedger> insertSAPDeviceLedger(SAPResultOrderInfoVo resultVo) throws ParseException;

    /**
     * 转换产品bom信息实体类 保存数据
     *
     * */
    public ArrayList<OrderBomInfo> insertSAPOrderBomInfo(SAPResultOrderInfoVo resultVo) throws ParseException;

}
