Set<Cell> cells = template.getCells();
Iterator<Cell> iter = cells.iterator();
while(iter.hasNext())
{
Cell cell = iter.next();
CellId cellID = cell.getId();
String queryType = cell.getQueryType();
int sheetNum = cellID.getSheetNum().intValue();
int rowNum = cellID.getRowNum().intValue();
int colNum = cellID.getColNum().intValue();
if(queryType.equalsIgnoreCase("single")||queryType.equalsIgnoreCase("serial"))//商用库查询
{
String measureID = cell.getMeasureId();
String timeVar = cell.getTimeVar();
String target = cell.getQueryTarget();