Merge pull request #8891 from ulleo/dev

feat(X-Pack): 调整数据填报保存小数字段的保留小数位数为8位
This commit is contained in:
ulleo 2024-04-02 17:12:57 +08:00 committed by GitHub
commit 5e9e1030cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -267,7 +267,7 @@ public class MysqlExtDDLProvider extends DefaultExtDDLProvider {
if (field.getAccuracy() != null && field.getAccuracy() >= 0) { if (field.getAccuracy() != null && field.getAccuracy() >= 0) {
str.append(field.getAccuracy()); str.append(field.getAccuracy());
} else { } else {
str.append(4); str.append(8);
} }
str.append(") "); str.append(") ");
break; break;