|
|
@ -89,6 +89,7 @@ public class TableJsonUtils { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
sb.append(" OFFLINE_FLAG VARCHAR(2) DEFAULT '0')"); |
|
|
|
sb.append(" OFFLINE_FLAG VARCHAR(2) DEFAULT '0')"); |
|
|
|
|
|
|
|
|
|
|
|
// 拼接完整的建表语句
|
|
|
|
// 拼接完整的建表语句
|
|
|
|
createTableSql = createTableSql.substring(0, firstParenthesesIndex+1) + sb.toString(); |
|
|
|
createTableSql = createTableSql.substring(0, firstParenthesesIndex+1) + sb.toString(); |
|
|
|
// 转成成大写
|
|
|
|
// 转成成大写
|
|
|
@ -130,6 +131,9 @@ public class TableJsonUtils { |
|
|
|
needField = needField.substring(0, characterIndex); |
|
|
|
needField = needField.substring(0, characterIndex); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if(needField.contains("DEFAULT B")) { |
|
|
|
|
|
|
|
needField = needField.replace("DEFAULT B","DEFAULT "); |
|
|
|
|
|
|
|
} |
|
|
|
return needField; |
|
|
|
return needField; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|