生成文件数据类型处理
parent
21ac81824c
commit
5527f560d9
|
|
@ -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:{
|
||||
|
|
|
|||
Loading…
Reference in New Issue