package com.steering.pss.sale.order.bomGeneration.serverImp;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

import com.steering.pss.sale.order.bomGeneration.model.BomEntity;
import com.steering.pss.sale.order.bomGeneration.model.DesignBomEntity;
import com.steering.pss.sale.order.model.DesignMscPlGxPrlEntity;

/**
 * 产品 物料编码 业务接口
 * 
 * @author Administrator
 * 
 */
public interface BomProducImp {
	/**
	 * 产品 物料编码
	 * 
	 * @param con
	 *            连接字符串
	 * @param bom
	 *            BOM主键集合类（即一套BOM物料编码）
	 * @param mscEntity
	 *            合同行
	 * @throws SQLException
	 */
	String fromAndSaveBom(Connection con, DesignBomEntity bom,
			BomEntity mscEntity, List<DesignMscPlGxPrlEntity> lines,
			String designKey, String flag) throws SQLException;
}
