package com.steering.pss.plan.order;

import java.util.ArrayList;

import CoreFS.SA06.CoreReturnObject;

import com.steering.comm.db.DBCommon;

/*
 * 工序合同操作
 *  @author：杨天海
 *  @version：v1.1
 *  @date:2015.05.28 
 */
public class CoreProcessOrder extends DBCommon{
    /**
     * 查询已下发的销售合同
     * @param list 查询参数
     * @return object
     */
    public CoreReturnObject queryIssSaleOrder(ArrayList<String> list){
        CoreReturnObject cro = null;
        cro=this.getDataBySqlID("CoreProcessOrder.queryIssSaleOrder", list.toArray());
        return cro;
    }
    
    /**
     * 查询已下发的备料需求
     * @param list 查询参数
     * @return object
     */
    public CoreReturnObject queryIssBlNeed(ArrayList<String> list){
        CoreReturnObject cro = null;
        cro=this.getDataBySqlID("CoreProcessOrder.queryIssBlNeed", list.toArray());
        return cro;
    }
    
	/*
	 * 查询销售形成的轧管工序合同
	 * @param list 筛选条件
	 * @return object
	 */
	public CoreReturnObject queryZGbySale(ArrayList<String> list){
		CoreReturnObject cro = null;
		cro = this.getDataBySqlID("CoreProcessOrder.queryZGbySale", list.toArray());
		return cro;
	}
	
	/*
	 * 查询备料需求形成的轧管工序合同
	 * @param list 筛选条件
	 * @return object
	 */
	public CoreReturnObject queryZGbyBL(ArrayList<String> list){
		CoreReturnObject cro = null;
		cro = this.getDataBySqlID("CoreProcessOrder.queryZGbyBL", list.toArray());
		return cro;
	}
	
	/*
	 * 查询销售形成的变径工序合同
	 * @param list 筛选条件
	 * @return object
	 */
	public CoreReturnObject queryBJbySale(ArrayList<String> list){
		CoreReturnObject cro = null;
		cro = this.getDataBySqlID("CoreProcessOrder.queryBJbySale", list.toArray());
		return cro;
	}
	
	/*
	 * 查询备料需求形成的变径工序合同
	 * @param list 筛选条件
	 * @return object
	 */
	public CoreReturnObject queryBJbyBL(ArrayList<String> list){
		CoreReturnObject cro = null;
		cro = this.getDataBySqlID("CoreProcessOrder.queryBJbyBL", list.toArray());
		return cro;
	}
	
	/*
	 * 查询销售形成的热处理工序合同
	 * @param list 筛选条件
	 * @return object
	 */
	public CoreReturnObject queryRCLbySale(ArrayList<String> list){
		CoreReturnObject cro = null;
		cro = this.getDataBySqlID("CoreProcessOrder.queryRCLbySale", list.toArray());
		return cro;
	}
	
	/*
	 * 查询备料需求形成的热处理工序合同
	 * @param list 筛选条件
	 * @return object
	 */
	public CoreReturnObject queryRCLbyBL(ArrayList<String> list){
		CoreReturnObject cro = null;
		cro = this.getDataBySqlID("CoreProcessOrder.queryRCLbyBL", list.toArray());
		return cro;
	}
	
	/*
	 * 查询销售形成的加工线工序合同
	 * @param list 筛选条件
	 * @return object
	 */
	public CoreReturnObject queryJGXbySale(ArrayList<String> list){
		CoreReturnObject cro = null;
		cro = this.getDataBySqlID("CoreProcessOrder.queryJGXbySale", list.toArray());
		return cro;
	}
	
	/*
	 * 查询备料需求形成的加工线工序合同
	 * @param list 筛选条件
	 * @return object
	public CoreReturnObject queryJGXbyBL(ArrayList<String> list){
		CoreReturnObject cro = null;
		cro = this.getDataBySqlID("CoreProcessOrder.queryJGXbyBL", list.toArray());
		return cro;
	}
     */
	
	/*
	 * 查询管坯需求
	 * @param list 筛选条件
	 * @return object
	 */
	public CoreReturnObject queryGpNeed(ArrayList<String> list){
		CoreReturnObject cro = null;
		cro = this.getDataBySqlID("CoreProcessOrder.queryGpNeed", list.toArray());
		return cro;
	}
}