mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-16 21:19:34 +08:00
Synchronization code
This commit is contained in:
parent
27569e8cad
commit
4439b001fe
@ -253,7 +253,7 @@ namespace SqlSugar
|
||||
}
|
||||
if (inValue2.Contains("[null]"))
|
||||
{
|
||||
inValue2 = inValue2.Replace("[null]", "null");
|
||||
inValue2 = inValue2.Replace("[null]", "'null'");
|
||||
}
|
||||
if (inValue2.Contains("[comma]"))
|
||||
{
|
||||
@ -289,7 +289,7 @@ namespace SqlSugar
|
||||
}
|
||||
if (inValue1.Contains("[null]"))
|
||||
{
|
||||
inValue1 = inValue1.Replace("[null]", "null");
|
||||
inValue1 = inValue1.Replace("[null]", "'null'");
|
||||
}
|
||||
if (item.CSharpTypeName.EqualCase("guid") && inValue1 == "('')")
|
||||
{
|
||||
@ -356,7 +356,7 @@ namespace SqlSugar
|
||||
{
|
||||
if (item.FieldValue == "[null]")
|
||||
{
|
||||
item.FieldValue = "null";
|
||||
item.FieldValue = "'null'";
|
||||
}
|
||||
builder.AppendFormat(temp, type, item.FieldName.ToSqlFilter(), "=", parameterName);
|
||||
parameters.Add(new SugarParameter(parameterName, GetFieldValue(item)));
|
||||
|
Loading…
Reference in New Issue
Block a user