code optimization

This commit is contained in:
sunkaixuna 2021-08-17 11:50:14 +08:00
parent 25bc0d4d9f
commit 86977008c4

View File

@ -206,6 +206,10 @@ namespace SqlSugar
{
return "N'" + value.ToString().ToSqlFilter() + "'";
}
else if (type == UtilConstants.FloatType)
{
return "N'" +Convert.ToDouble(value).ToString() + "'";
}
else
{
return "N'" + value.ToString() + "'";