fix: 桌面版导入excel,不展示设置字段长度

This commit is contained in:
taojinlong
2025-01-06 12:40:54 +08:00
committed by dataeaseShu
parent 88537e4eab
commit 0001ef8ccd
2 changed files with 1 additions and 5 deletions

View File

@@ -345,10 +345,6 @@ public class ExcelUtils {
if (StringUtils.isEmpty(value) || value.length() > 19) {
return "TEXT";
}
String numberFormatRegex = "^[1-9]\\d*$";
if (!value.matches(numberFormatRegex)) {
return "TEXT";
}
String regex = "^-?\\d+(\\.\\d+)?$";
if (!value.matches(regex)) {
return "TEXT";