|
@@ -42,8 +42,10 @@ public class ExcelUtil {
|
|
|
continue;
|
|
|
}
|
|
|
if(cell != null){
|
|
|
- String value = fommartNum(cell.toString().trim());
|
|
|
- map.put(cellNum,value);
|
|
|
+ DataFormatter dataFormatter = new DataFormatter();
|
|
|
+ String cellValue = dataFormatter.formatCellValue(cell);
|
|
|
+ map.put(cellNum,cellValue);
|
|
|
+
|
|
|
}
|
|
|
|
|
|
}
|