mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-24 16:43:17 +08:00
Optimized code
This commit is contained in:
@@ -299,8 +299,8 @@ namespace SqlSugar
|
||||
{
|
||||
inValue1 = $"(NULL)";
|
||||
}
|
||||
if (inArray.Length == 1)
|
||||
{
|
||||
if (inArray.Length == 1&& inValue1 != "(null)")
|
||||
{
|
||||
builder.AppendFormat(temp, type, item.FieldName.ToSqlFilter(), "=", inValue1.TrimStart('(').TrimEnd(')'));
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user