package com.steering.pss.sale.price.server;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.util.ArrayList;

import com.steering.comm.db.DBCommon;
import com.steering.comm.tools.EntityTool;
import com.steering.pss.sale.price.entity.SlmPriceBasepriceLineEntity;
import CoreFS.SA06.CoreReturnObject;
import CoreFS.SA08.CoreXmlSqlParsersFactory;
import CoreFS.SC01.CoreConstantData;

public class CorePriceFramePriceLine extends DBCommon {

	 /**
     * @param valid
     * @return
     */
    public CoreReturnObject queryById(String PRICE_HEAD_ID, String isValid) {
     
        String sql = CoreXmlSqlParsersFactory.getSql("CorePriceFramePriceLine.queryById");
        sql = sql.replaceAll("#PRICE_HEAD_ID#", PRICE_HEAD_ID);
        sql = sql.replaceAll("#VALIDFLAG#", isValid);
        return this.getData(sql);
        
        
    }
    
    /**
     * 查询其他类规格数据
  
     * @return
     */
    public CoreReturnObject getSpecDesc() {
       
        return this.getDataBySqlID("CorePriceFramePriceLine.getSpecDesc");
    }
	
	
}
