package com.uas.platform.b2b.erp.service;

import java.util.List;

import com.uas.platform.b2b.erp.model.SaleSampleApproval;
import com.uas.platform.b2b.erp.model.SaleSampleDown;
import com.uas.platform.b2b.erp.model.SaleSampleSend;
import com.uas.platform.b2b.model.PurchaseProofingApproval;
import com.uas.platform.b2b.model.PurchaseProofingItem;
import com.uas.platform.b2b.model.PurchaseProofingSend;

public interface SaleSampleDownService {

	/**
	 * 将平台的客户打样申请单，转为卖家ERP的客户打样申请
	 * 
	 * @param 
	 * @return
	 */
	List<SaleSampleDown> convertPurchaseProofingItems(List<PurchaseProofingItem> proofingItems);

	/**
	 * 将平台中未传输到卖方ERP的送样单,转化为卖方ERP的送样单
	 * 将平台中未传输到买方ERP的送样单,转化为买方ERP的送样单
	 * @param proofingSends
	 * @return
	 */
	List<SaleSampleSend> convertSaleSampleSends(List<PurchaseProofingSend> proofingSends);
	
	/**
	 * 将卖家ERP中未上传到平台的送样单,转化为平台的送样单
	 * @param saleSampleSends
	 * @return
	 */
	List<PurchaseProofingSend> convertProofingSends(List<SaleSampleSend> saleSampleSends);
	
	/**
	 * 将平台上的送样客户认定单转化为(卖方)ERP的认定单
	 * @param proofingApprovals
	 * @return
	 */
	List<SaleSampleApproval> covertSampleApprovals(List<PurchaseProofingApproval> proofingApprovals);

}
