From 0c074d8358280c3d571be4630c1a21fde6451ab8 Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Mon, 18 Apr 2022 22:56:32 +0800 Subject: [PATCH] - --- .../SqlSugar/Abstract/SqlBuilderProvider/QueryBuilder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/Asp.Net/SqlSugar/Abstract/SqlBuilderProvider/QueryBuilder.cs b/Src/Asp.Net/SqlSugar/Abstract/SqlBuilderProvider/QueryBuilder.cs index f06280451..268356643 100644 --- a/Src/Asp.Net/SqlSugar/Abstract/SqlBuilderProvider/QueryBuilder.cs +++ b/Src/Asp.Net/SqlSugar/Abstract/SqlBuilderProvider/QueryBuilder.cs @@ -265,7 +265,7 @@ namespace SqlSugar if (isSingleTableHasSubquery) { Check.Exception(!string.IsNullOrEmpty(this.TableShortName) && resolveExpress.SingleTableNameSubqueryShortName != this.TableShortName, "{0} and {1} need same name", resolveExpress.SingleTableNameSubqueryShortName, this.TableShortName); - this.TableShortName =this.Builder.GetTranslationColumnName(resolveExpress.SingleTableNameSubqueryShortName); + this.TableShortName =resolveExpress.SingleTableNameSubqueryShortName; } return result; }