package com.steering.pss.sale.order;

import CoreFS.SA06.CoreReturnObject;
 
import com.steering.comm.db.DBCommon;

public class CoreOrderLineChild extends DBCommon {
	/**
	 * 交货信息查询
	 * 
	 * @param manag_no
	 *            管理卡号，order_no 合同号，order_seq 合同行号
	 * @return CoreReturnObject 必须返回CoreReturnObject
	 */
	public CoreReturnObject GetQueryLineDelivery(String manag_no) {
		Object[] params = new Object[] { manag_no };
		CoreReturnObject cro = this.getDataBySqlID(
				"CoreOrderLineChild.doQueryLineDelivery", params);
		return cro;
	}

	/**
	 * 交货运输信息查询
	 * 
	 * @param manag_no
	 *            管理卡号，order_no 合同号，order_seq 合同行号
	 * @return CoreReturnObject 必须返回CoreReturnObject
	 */
	public CoreReturnObject GetQueryTransitDelivery(String manag_no) {
		Object[] params = new Object[] { manag_no};
		CoreReturnObject cro = this.getDataBySqlID(
				"CoreOrderLineChild.doQueryTransitDelivery", params);
		return cro;
	}

	/**
	 * 查询成分项
	 * 
	 * @return CoreReturnObject 。
	 */
	public CoreReturnObject GetQueryMscStdChem(String cust_alpha_no,String msc,String model_code) { 
		Object[] params = new Object[] { cust_alpha_no,cust_alpha_no,cust_alpha_no,cust_alpha_no,msc,model_code};
		return this.getDataBySqlID("CoreOrderLineChild.doQueryMscStdChem", params); 
	}

	/**
	 * 查询探伤项
	 * 
	 * @return CoreReturnObject 。
	 */
	public CoreReturnObject GetQueryMscStdDetection(String cust_alpha_no,String msc,String model_code) {
		Object[] params = new Object[] { cust_alpha_no,cust_alpha_no,cust_alpha_no,cust_alpha_no,cust_alpha_no,cust_alpha_no,msc,model_code};
		return this.getDataBySqlID("CoreOrderLineChild.doQueryMscStdDetection", params); 
	}

	/**
	 * 查询水压项
	 * 
	 * @return CoreReturnObject 。
	 */
	public CoreReturnObject GetQueryMscStdWater(String cust_alpha_no,String msc,String model_code) {
		Object[] params = new Object[] { cust_alpha_no,cust_alpha_no,cust_alpha_no,msc,model_code};
		return this.getDataBySqlID("CoreOrderLineChild.doQueryMscStdWater", params);  
	}

	/**
	 * 查询理化项
	 * 
	 * @return CoreReturnObject 。
	 */
	public CoreReturnObject GetQueryMscStdPic(String cust_alpha_no,String msc,String model_code) {
		Object[] params = new Object[] { cust_alpha_no,cust_alpha_no,cust_alpha_no,cust_alpha_no,msc,model_code};
		return this.getDataBySqlID("CoreOrderLineChild.doQueryMscStdPic", params);   
	}
	/**
	 * 查询公差项
	 * 
	 * @return CoreReturnObject 。
	 */
	public CoreReturnObject GetQueryMscStdSpec_c(String cust_alpha_no,String msc,String model_code) {
		Object[] params = new Object[] {  msc,model_code,cust_alpha_no};
		return this.getDataBySqlID("CoreOrderLineChild.doQueryMscStdSpec_c", params);   
	}
	/**
	 * 查询附加要求
	 * 
	 * @return CoreReturnObject 。
	 */
	public CoreReturnObject GetQueryMscStdSpec_Tional(String add_ask_no,String msc) {
		Object[] params = new Object[] { add_ask_no,add_ask_no,msc};
		return this.getDataBySqlID("CoreOrderLineChild.doQueryMscStdSpec_Tional", params);   
	}
}
