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

import java.util.List;

import com.uas.platform.b2b.erp.model.PurchaseProdInOut;
import com.uas.platform.b2b.model.PurchaseAcceptItem;
import com.uas.platform.b2b.model.PurchaseBadInItem;
import com.uas.platform.b2b.model.PurchaseBadOutItem;
import com.uas.platform.b2b.model.PurchaseReturnItem;

public interface PurchaseProdInOutService {

	/**
	 * 将ERP系统的采购验收单，转为平台的客户采购验收单
	 * 
	 * @param changes
	 * @return
	 */
	List<PurchaseAcceptItem> convertProdInOuts(List<PurchaseProdInOut> prodInOuts);
	
	/**
	 * 将ERP系统的采购验退单，转为平台的客户采购验退单
	 * 
	 * @param changes
	 * @return
	 */
	List<PurchaseReturnItem> convertReturns(List<PurchaseProdInOut> prodInOuts);
	
	/**
	 * 将ERP系统的不良品入库单，转为平台的客户不良品入库单
	 * 
	 * @param changes
	 * @return
	 */
	List<PurchaseBadInItem> convertBadIns(List<PurchaseProdInOut> prodInOuts);
	
	/**
	 * 将ERP系统的不良品出库单，转为平台的客户不良品出库单
	 * 
	 * @param changes
	 * @return
	 */
	List<PurchaseBadOutItem> convertBadOuts(List<PurchaseProdInOut> prodInOuts);

}
