mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-30 12:47:57 +08:00
Bug: Subquery.ToList with auto fill
This commit is contained in:
parent
e7b3b07f05
commit
a26f32cb4c
@ -1051,7 +1051,9 @@ namespace SqlSugar
|
||||
var parameters = (expression as LambdaExpression).Parameters;
|
||||
var columnsResult = this.Context.EntityMaintenance.GetEntityInfo<TResult>().Columns;
|
||||
sql = AppendSelect(this.EntityInfo.Columns,sql, parameters, columnsResult, 0);
|
||||
return this.Select<TResult>(sql);
|
||||
var result= this.Select<TResult>(sql);
|
||||
result.QueryBuilder.SelectValue = expression;
|
||||
return result;
|
||||
}
|
||||
|
||||
public virtual ISugarQueryable<TResult> Select<TResult>()
|
||||
|
Loading…
Reference in New Issue
Block a user