package com.steering.pss.ydm.StuffmanageReport;

import java.util.ArrayList;

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

import com.steering.comm.converter.CoreConverter;
import com.steering.comm.db.DBCommon;

public class FrmStoreSummary extends DBCommon{

	/***
	 * 查询
	 * @param list
	 * @param arr
	 * @return
	 */
	public CoreReturnObject queryData(ArrayList<String> list,String[]arr)
	{
		String sql = CoreXmlSqlParsersFactory.getSql("FrmStoreSummary.queryData").replace("#columns#", list.get(0));
		sql += CoreConverter.toSqlConditionString("T2.STORAGE_NO", arr);
		sql = sql.replace("#conditions#", list.get(1));
		sql = sql + list.get(2);
		return this.getData(sql);	
	}
}
