@@ -987,9 +987,13 @@ public class ExcelUtils { | |||
} | |||
private static boolean isNumeric(String str) { | |||
if (StringUtils.isEmpty(str) && "0.0".equals(str)) { | |||
if ("0.0".equals(str)) { | |||
return true; | |||
} | |||
// 使用StringUtils.isEmpty(str)检查是否为空字符串,包括两端有空格的情况 | |||
if (StringUtils.isBlank(str)) { | |||
return false; | |||
} | |||
if (StringUtils.isEmpty(str)){ | |||
return false; | |||
} |