Synchronization code

This commit is contained in:
sunkaixuan
2023-07-27 13:22:59 +08:00
parent a934eee1ad
commit d117f7c872

View File

@@ -191,7 +191,7 @@ namespace SqlSugar
} }
else else
{ {
andString.AppendFormat(tempequals, primaryField.ToUpper(isAutoToUpper), entityValue); andString.AppendFormat(tempequals.Replace("N","")+" ", primaryField.ToUpper(isAutoToUpper), entityValue);
} }
} }
else if (this.Context.CurrentConnectionConfig.DbType == DbType.PostgreSQL && (this.Context.CurrentConnectionConfig.MoreSettings == null || this.Context.CurrentConnectionConfig.MoreSettings?.PgSqlIsAutoToLower == true)) else if (this.Context.CurrentConnectionConfig.DbType == DbType.PostgreSQL && (this.Context.CurrentConnectionConfig.MoreSettings == null || this.Context.CurrentConnectionConfig.MoreSettings?.PgSqlIsAutoToLower == true))