Merge pull request #11189 from dataease/pr@dev-v2@fix_field

fix: 修复字段类型
This commit is contained in:
Junjun 2024-07-26 09:47:45 +08:00 committed by GitHub
commit 47b8eb901f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,6 +16,8 @@ public class FieldUtils {
case "ENUM":
case "ANY":
case "STRING":
case "BOOL":
case "BOOLEAN":
return 0;// 文本
case "DATE":
case "TIME":
@ -66,8 +68,6 @@ public class FieldUtils {
return 3;// 浮点
case "BIT":
case "TINYINT":
case "BOOL":
case "BOOLEAN":
return 4;// 布尔
default:
return 0;