mirror of
https://github.com/dataease/dataease.git
synced 2026-05-16 05:50:45 +08:00
fix: 识别excel字段类型
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user