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

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

import com.steering.pss.sale.order.model.SlmBaseAddAskEntity;
import com.steering.pss.sale.order.qualityDesign.model.ComBaseAdditionalEntity;
import com.steering.pss.sale.order.qualityDesign.model.SlmOrdDesignAddAskStsEntity;
import com.steering.pss.sale.order.qualityDesign.model.SlmOrderAddAskEntity;

/**
 * 合同附加要求
 * 
 * @author Administrator
 * 
 */
public interface AddAskDaoImp {
	/**
	 * 合同附加要求状态
	 * 
	 * @param con
	 *            连接字符串
	 * @param addAskNo
	 *            附加要求编号
	 * @return String
	 */
	public List<String> getAddAskStatus(Connection con, String addAskNo)
			throws SQLException;
	
	/**
	 * 获取销售附加要求
	 * @param con
	 * @param addAskNo
	 * @return
	 * @throws SQLException
	 */
	public ArrayList<SlmOrderAddAskEntity> getOrderAddAsk(Connection con,
			String addAskNo) throws SQLException;
	
	/**
	 * 获取标准附加要求
	 * @param con
	 * @param stdCode
	 * @return
	 * @throws SQLException
	 */
	public ArrayList<ComBaseAdditionalEntity> getStdAddAsk(Connection con,
			String stdCode)  throws SQLException;
	
	/**
	 * 获取基础附加要求
	 * @param con
	 * @param askItemNo
	 * @return
	 * @throws SQLException
	 */
	public SlmBaseAddAskEntity getBaseAddAsk(Connection con,
			String askItemNo) throws SQLException;
	
	/**
	 * 获取附加要求评审状态
	 * @param con
	 * @param ordLnPk
	 * @return
	 * @throws SQLException
	 */
	public SlmOrdDesignAddAskStsEntity getDesignAddAskSts(Connection con,
			String ordLnPk) throws SQLException;
}
