|
@@ -84,7 +84,7 @@ public class ExcelUtils {
|
|
|
case "NUMERIC":
|
|
|
System.out.println("Excel数据样式:"+ cell.getCellStyle().getDataFormatString());
|
|
|
if("General".equals(cell.getCellStyle().getDataFormatString())){
|
|
|
- cellValue = new BigDecimal(Double.toString(cell.getNumericCellValue())).toPlainString();
|
|
|
+ cellValue = new BigDecimal(cell.getNumericCellValue()).toPlainString();
|
|
|
}else if("m/d/yyyy;@".equals(cell.getCellStyle().getDataFormatString())){
|
|
|
cellValue = new SimpleDateFormat("yyyy-MM-dd").format(cell.getDateCellValue());
|
|
|
}else if("@".equals(cell.getCellStyle().getDataFormatString())){
|