同步修改bug

This commit is contained in:
hekaiyu 2025-11-12 16:41:35 +08:00
parent 2913a606f2
commit 85f3a3fe8a

View File

@ -212,9 +212,9 @@ public class StasSyncStrategyServiceImpl extends ServiceImpl<StasSyncStrategyMap
"CLOB".equalsIgnoreCase(dataType) ||
"BLOB".equalsIgnoreCase(dataType) ||
"LONG".equalsIgnoreCase(dataType) ||
"FLOAT".equalsIgnoreCase(dataType)) {
"FLOAT".equalsIgnoreCase(dataType)||
dataType.startsWith("TIMESTAMP")) {
// 这些类型不需要长度/精度信息
// 什么也不做
} else {
// 其他可能需要长度的类型
ddl.append("(").append(dataLength).append(")");