mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-21 07:29:35 +08:00
Update UpdateBuilder
This commit is contained in:
parent
6932f3d477
commit
752f375707
@ -365,9 +365,16 @@ namespace SqlSugar
|
||||
return value;
|
||||
}
|
||||
else if (UtilMethods.IsNumber(type.Name))
|
||||
{
|
||||
if (value.ObjToString().Contains(","))
|
||||
{
|
||||
return $"'{value}'";
|
||||
}
|
||||
else
|
||||
{
|
||||
return value;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
return "N'" + value.ToString() + "'";
|
||||
|
Loading…
Reference in New Issue
Block a user