mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
Update table query
This commit is contained in:
parent
8722bb6aa6
commit
c0b6369dcf
@ -251,10 +251,14 @@ namespace SqlSugar
|
||||
{
|
||||
inValue2 = inValue2.Replace("'null'", "null");
|
||||
}
|
||||
else if (inValue2.Contains("[null]"))
|
||||
if (inValue2.Contains("[null]"))
|
||||
{
|
||||
inValue2 = inValue2.Replace("[null]", "null");
|
||||
}
|
||||
if (inValue2.Contains("[comma]"))
|
||||
{
|
||||
inValue2 = inValue2.Replace("[comma]", ",");
|
||||
}
|
||||
builder.AppendFormat(temp, type, item.FieldName.ToSqlFilter(), "NOT IN", inValue2);
|
||||
parameters.Add(new SugarParameter(parameterName, item.FieldValue));
|
||||
}
|
||||
@ -279,11 +283,11 @@ namespace SqlSugar
|
||||
{
|
||||
inValue1 = inValue1.Replace("'null'", "null");
|
||||
}
|
||||
else if (inValue1.Contains("[comma]"))
|
||||
if (inValue1.Contains("[comma]"))
|
||||
{
|
||||
inValue1 = inValue1.Replace("[comma]", ",");
|
||||
}
|
||||
else if (inValue1.Contains("[null]"))
|
||||
if (inValue1.Contains("[null]"))
|
||||
{
|
||||
inValue1 = inValue1.Replace("[null]", "null");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user