|
@@ -3926,9 +3926,9 @@ public class ExcelTabServiceImpl extends BaseServiceImpl<ExcelTabMapper, ExcelTa
|
|
int index = excelTab.getFileUrl().lastIndexOf(".");
|
|
int index = excelTab.getFileUrl().lastIndexOf(".");
|
|
String suffix = excelTab.getFileUrl().substring(index);
|
|
String suffix = excelTab.getFileUrl().substring(index);
|
|
|
|
|
|
- if (".xls".equals(suffix)) {
|
|
|
|
|
|
+ if (".xls".equalsIgnoreCase(suffix)) {
|
|
workbook = new XSSFWorkbook(exceInp);
|
|
workbook = new XSSFWorkbook(exceInp);
|
|
- } else if (".xlsx".equals(suffix)) {
|
|
|
|
|
|
+ } else if (".xlsx".equalsIgnoreCase(suffix)) {
|
|
workbook = new XSSFWorkbook(exceInp);
|
|
workbook = new XSSFWorkbook(exceInp);
|
|
}
|
|
}
|
|
|
|
|