From 03f26e91e054616d53071b5a1ec56760dc053f98 Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Sat, 27 May 2023 12:10:50 +0800 Subject: [PATCH] Bug: Updateable.PublicSetColumns --- .../Realization/SqlServer/SqlBuilder/SqlServerUpdateBuilder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/Asp.Net/SqlSugar/Realization/SqlServer/SqlBuilder/SqlServerUpdateBuilder.cs b/Src/Asp.Net/SqlSugar/Realization/SqlServer/SqlBuilder/SqlServerUpdateBuilder.cs index 565408810..b2abf7ec2 100644 --- a/Src/Asp.Net/SqlSugar/Realization/SqlServer/SqlBuilder/SqlServerUpdateBuilder.cs +++ b/Src/Asp.Net/SqlSugar/Realization/SqlServer/SqlBuilder/SqlServerUpdateBuilder.cs @@ -82,7 +82,7 @@ namespace SqlSugar var dbColumnName = item.Value.DbColumnName; if (item.Value.Type==ReSetValueBySqlExpListModelType.List) { - result = result.Replace($"T.{dbColumnName}", $" T.{dbColumnName}{item.Value.Sql}S.{dbColumnName}"); + result = result.Replace($"T.{dbColumnName}", $" S.{dbColumnName}{item.Value.Sql}T.{dbColumnName}"); } else {