IErpBackService.java 1.13 KB
package com.huaheng.api.erp.service;

import com.huaheng.api.erp.domain.*;
import com.huaheng.framework.web.domain.AjaxResult;
import com.huaheng.framework.web.domain.ResultErp;
import com.huaheng.pc.receipt.receiptHeader.domain.ReceiptHeader;
import com.huaheng.pc.shipment.shipmentHeader.domain.ShipmentHeader;
import com.huaheng.pc.srm.domain.SrmDetail;
import com.huaheng.pc.srm.domain.SrmHeader;
import com.huaheng.pc.task.taskDetail.domain.TaskDetail;
import com.huaheng.pc.task.taskHeader.domain.TaskHeader;

import java.util.List;

public interface IErpBackService {

    AjaxResult setErpBackData(TaskHeader taskHeader,Boolean isAuto);
    /**
     * 给erp回传信息
     * @param ajaxResult
     * @param url
     * @param task
     * @return
     */
    AjaxResult sendDataToERP(AjaxResult ajaxResult, String url, String warehouseCode,String datakeyEntId,String datakeyCompanyId);

    List<TaskDetail> getUnBackTask(String billCode, String warehouseCode, Integer taskid);

    boolean taskAllComplete(String billCode,String warehouseCode,Integer taskid);

    AjaxResult createErpYanTui(List<SrmDetail> details, SrmHeader srmHeader);

}