package com.steering.pss.plnsaleord.report;

import CoreFS.SA06.CoreReturnObject;
import CoreFS.SA08.CoreXmlSqlParsersFactory;

import com.steering.comm.db.DBCommon;

/**
 *加工排产一级与接箍订单查询
 * @author 
 */
public class FrmProductionSchedulingAndCoupling extends DBCommon {
    /***
     * 加工排产一级与接箍订单查询
     * @param plineCode
     * @return
     */
    public CoreReturnObject getQrue(String plineCode) {
        String sql = CoreXmlSqlParsersFactory
                .getSql("FrmProductionSchedulingAndCoupling.getQrue");
        String sql1 = "";
        if (!plineCode.equals("")) {
            sql1 += " AND T.PLINE_CODE = '" + plineCode + "' ";
        }
        sql = sql.replace("#something#", sql1);
        return this.getData(sql);
    }
}
