Browse Source

Update mysql

pull/14/head
sunkaixuan 3 years ago
parent
commit
d013737c87
  1. 8
      Src/Asp.Net/SqlSugar.MySqlConnector/MySql/SqlBuilder/MySqlUpdateBuilder.cs

8
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";

Loading…
Cancel
Save