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

import java.sql.Connection;
import java.sql.SQLException;

import javax.script.ScriptException;

import com.steering.pss.sale.order.qualityDesign.ReturnsModel.DesignEntity;

/**
 * 长度计算接口
 * 
 * @author Administrator
 * 
 */
public interface LengthCalculateImp {
	/**
	 * 长度验证
	 * 
	 * @param con
	 *            连接字符串
	 * @param design
	 *            质量设计类
	 * @return boolean
	 * @throws SQLException
	 * @throws ScriptException
	 */
	boolean checkLength(Connection con, DesignEntity design)
			throws SQLException, ScriptException;
}
