if(numrec.getRow() == 0) {
//第一行 跳过
break;
} else if(numrec.getColumn() == 0) { //第一列
current = new ExcelData();
current.setId(Double.valueOf(numrec.getValue()).longValue());
} else if(numrec.getColumn() == 1) {//第二列
current.setContent(String.valueOf(Double.valueOf(numrec.getValue()).longValue()));
add(current);
}
break;
} else if(record instanceof LabelSSTRecord) {
//解析一个String类型的单元格值(存储在SSTRecord)
LabelSSTRecord lrec = (LabelSSTRecord) record;
if(lrec.getRow() == 0) {
//第一行 跳过
break;
} else if(lrec.getColumn() == 0) { //第一列
current = new ExcelData();
String value = sstrec.getString(lrec.getSSTIndex()).getString();
current.setId(Double.valueOf(value).longValue());
} else if(lrec.getColumn() == 1) {//第二列
String value = sstrec.getString(lrec.getSSTIndex()).getString();
current.setContent(value);