Some libraries are not compatible with restore

This commit is contained in:
sunkaixuan 2024-04-21 11:56:42 +08:00
parent f386f2080c
commit e4243bb784

View File

@ -170,10 +170,6 @@ 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";