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

import java.util.List;

import com.uas.platform.b2b.erp.model.SaleProdInOutDown;
import com.uas.platform.b2b.model.PurchaseAccept;
import com.uas.platform.b2b.model.PurchaseBadIn;
import com.uas.platform.b2b.model.PurchaseBadOut;
import com.uas.platform.b2b.model.PurchaseReturn;

public interface SaleProdInOutDownService {

	/**
	 * 将平台的客户采购验收单，转为ERP系统的客户采购验收单
	 * 
	 * @param changes
	 * @return
	 */
	List<SaleProdInOutDown> convertPurchaseAccepts(List<PurchaseAccept> purchaseAccepts);
	
	/**
	 * 将平台的客户采购验退单，转为ERP系统的客户采购验退单
	 * 
	 * @param changes
	 * @return
	 */
	List<SaleProdInOutDown> convertPurchaseReturns(List<PurchaseReturn> purchaseReturns);
	
	/**
	 * 将平台的客户不良品入库单，转为ERP系统的客户不良品入库单
	 * 
	 * @param changes
	 * @return
	 */
	List<SaleProdInOutDown> convertPurchaseBadIns(List<PurchaseBadIn> purchaseBadIns);
	
	/**
	 * 将平台的客户不良品入库单，转为ERP系统的客户不良品出库单
	 * 
	 * @param changes
	 * @return
	 */
	List<SaleProdInOutDown> convertPurchaseBadOuts(List<PurchaseBadOut> purchaseBadOuts);

}
