From f9dcda6ade44806b1fce9533f2c9794a45bf9236 Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Tue, 20 Sep 2022 21:40:58 +0800 Subject: [PATCH] - --- .../SqlSugar/Abstract/SugarProvider/SqlSugarProvider.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Src/Asp.Net/SqlSugar/Abstract/SugarProvider/SqlSugarProvider.cs b/Src/Asp.Net/SqlSugar/Abstract/SugarProvider/SqlSugarProvider.cs index 48dbacbe6..1f2995868 100644 --- a/Src/Asp.Net/SqlSugar/Abstract/SugarProvider/SqlSugarProvider.cs +++ b/Src/Asp.Net/SqlSugar/Abstract/SugarProvider/SqlSugarProvider.cs @@ -410,7 +410,8 @@ namespace SqlSugar public virtual ISugarQueryable Queryable(ISugarQueryable queryable) { var sqlobj = queryable.ToSql(); - var result = this.SqlQueryable(sqlobj.Key).AddParameters(sqlobj.Value).Select("*"); + string selector = null; + var result = this.SqlQueryable(sqlobj.Key).AddParameters(sqlobj.Value).Select(selector); result.QueryBuilder.IsSqlQuery = false; return result; }