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

import java.sql.Connection;
import java.sql.SQLException;
import java.text.ParseException;
import com.steering.pss.sale.order.model.DesignMscEntity;

/**
 * 质量设计预处理接口
 * @author Administrator
 */
public interface QualityPreImp {
    /**
     * 质量设计预处理
     * @param conn 连接字符串
     * @param qualityPre 合同行
     * @return designKey
     * @throws SQLException
     */
    String DesignQualityPre(java.sql.Connection con, DesignMscEntity orderLine,
            String userName) throws SQLException, ParseException;

    /**
     * 验证传入的合同行数据是否符合标准
     * @param orderLine 合同行
     * @return true 合格
     */
    String checkOrderLine(Connection con, DesignMscEntity orderLine)
            throws SQLException;

    /**
     * 客户ALPHA处理
     * @param con
     * @param ordLnPk
     * @param alphaNo
     * @throws SQLException
     */
    void checkAlpha(Connection con, String ordLnPk, String psc,
            DesignMscEntity designMscEntity) throws SQLException;

}
