diff --git a/Src/Asp.Net/SqlSugar.MySqlConnector/MySql/SqlBuilder/MySqlUpdateBuilder.cs b/Src/Asp.Net/SqlSugar.MySqlConnector/MySql/SqlBuilder/MySqlUpdateBuilder.cs index 4c3054872..4c7d9132f 100644 --- a/Src/Asp.Net/SqlSugar.MySqlConnector/MySql/SqlBuilder/MySqlUpdateBuilder.cs +++ b/Src/Asp.Net/SqlSugar.MySqlConnector/MySql/SqlBuilder/MySqlUpdateBuilder.cs @@ -128,6 +128,14 @@ namespace SqlSugar.MySqlConnector return Convert.ToInt64(value); } } + else if (type == UtilConstants.LongType) + { + return GetString(value); + } + else if (type == UtilConstants.IntType) + { + return GetString(value); + } else if (type == UtilConstants.BoolType) { return value.ObjToBool() ? "1" : "0";