生成文件数据类型处理

back_recharge
gaojie 2019-03-21 11:19:25 +08:00
parent 21ac81824c
commit 5527f560d9
2 changed files with 131 additions and 127 deletions

View File

@ -382,10 +382,14 @@ public class ExcelUtils {
cellValue = String.valueOf(cell.getNumericCellValue());
if (cellType != null && cellType.toString().equals("float")){
}else{
if (cellType.toString().equals("string")){
cellValue = "";
}else{
cellValue = (int) cell.getNumericCellValue();
}
}
}
break;
}
case Cell.CELL_TYPE_BOOLEAN:{