mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-23 20:43:46 +08:00
Update Where(List<ICondit>)
This commit is contained in:
@@ -356,7 +356,7 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
if (item.FieldValue == "[null]")
|
if (item.FieldValue == "[null]")
|
||||||
{
|
{
|
||||||
item.FieldValue = "null";
|
item.FieldValue = "'null'";
|
||||||
}
|
}
|
||||||
builder.AppendFormat(temp, type, item.FieldName.ToSqlFilter(), "=", parameterName);
|
builder.AppendFormat(temp, type, item.FieldName.ToSqlFilter(), "=", parameterName);
|
||||||
parameters.Add(new SugarParameter(parameterName, GetFieldValue(item)));
|
parameters.Add(new SugarParameter(parameterName, GetFieldValue(item)));
|
||||||
|
Reference in New Issue
Block a user