forked from github/dataease
fix: 识别excel字段类型
This commit is contained in:
parent
672879fb31
commit
51a5695a60
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user