package com.steering.pss.sale.order.qualityDesign.Dao.imp;

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

import com.steering.pss.sale.order.model.DesignMscPlStiEntity;
import com.steering.pss.sale.order.model.MscStationEntity;

/**
 * 工序点bean接口
 */
public interface OperationPointDaoImp {
	/**
	 * 查询工序点
	 * 
	 * @param con
	 *            字符串
	 * @param msc
	 *            冶金规范码
	 * @param mscPline
	 *            产线号
	 * @param processCode
	 *            工序代码
	 * @return List<MscStationEntity>
	 * @throws SQLException
	 */
	List<MscStationEntity> getOperationPoint(java.sql.Connection con,
			String msc, String mscPline, String processCode)
			throws SQLException;

	/**
	 * 保存工序点
	 * 
	 * @param con
	 *            连接字符串
	 * @param operationPoint
	 *            工序点实体类
	 * @throws SQLException
	 */
	void saveOperationPoint(java.sql.Connection con,
			DesignMscPlStiEntity operationPoint) throws SQLException;

	/**
	 * 查询质量工序点
	 * 
	 * @param con
	 *            连接字符串
	 * @param msc
	 *            冶金规范码
	 * @param mscPline
	 *            全程产线号
	 * @param processCode
	 *            工序
	 * @return
	 * @throws SQLException
	 */
	List<DesignMscPlStiEntity> getDesignPoint(Connection con, String msc,
			String mscPline, String processCode) throws SQLException;
}
