fix: 识别excel字段类型

This commit is contained in:
taojinlong 2023-12-20 17:00:02 +08:00
parent 672879fb31
commit 51a5695a60

View File

@ -302,6 +302,9 @@ public class ExcelUtils {
sdf.parse(value);
return "DATETIME";
} catch (Exception e1) {
if(value.length()> 19){
return "TEXT";
}
try {
Double d = Double.valueOf(value);
double eps = 1e-10;