Synchronization code

This commit is contained in:
sunkaixuan
2024-04-20 15:32:30 +08:00
parent 5b93133c12
commit 9307c586e3

View File

@@ -170,6 +170,10 @@ namespace SqlSugar
{ {
return GetString(value); return GetString(value);
} }
else if (type == UtilConstants.FloatType)
{
return "cast('"+GetString(value)+"' as float)";
}
else if (type == UtilConstants.BoolType) else if (type == UtilConstants.BoolType)
{ {
return value.ObjToBool() ? "1" : "0"; return value.ObjToBool() ? "1" : "0";