Commit 57aef5b8 authored by lixiaolei's avatar lixiaolei

submit

parent d4a59a2d
...@@ -139,13 +139,13 @@ public class ReadBusinessInfoExcel { ...@@ -139,13 +139,13 @@ public class ReadBusinessInfoExcel {
} }
//投资估算(万元) //投资估算(万元)
} else if (c == 2) { } else if (c == 2) {
businessExcelDto.setInvestmentAmount(cell.getStringCellValue()); if (cell.getCellType() == CellType.NUMERIC) {
/* if (cell.getCellType() == CellType.NUMERIC) {
String amount = String.valueOf(cell.getNumericCellValue()); String amount = String.valueOf(cell.getNumericCellValue());
businessExcelDto.setInvestmentAmount(amount.substring(0, amount.length() - 2 > 0 ? amount.length() - 2 : 1)); // businessExcelDto.setInvestmentAmount(amount.substring(0, amount.length() - 2 > 0 ? amount.length() - 2 : 1));
businessExcelDto.setInvestmentAmount(amount);
} else { } else {
businessExcelDto.setInvestmentAmount(cell.getStringCellValue()); businessExcelDto.setInvestmentAmount(cell.getStringCellValue());
}*/ }
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment