mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
code optimization
This commit is contained in:
parent
25bc0d4d9f
commit
86977008c4
@ -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() + "'";
|
||||
|
Loading…
Reference in New Issue
Block a user