- 修复 GroupBy 之后 WithTempQuery 参数化时未传递的问题;

This commit is contained in:
2881099
2023-02-28 12:15:39 +08:00
parent cb3009d2ca
commit 4a2f9eb77e
4 changed files with 71 additions and 0 deletions

View File

@ -247,6 +247,7 @@ namespace FreeSql.Internal.CommonProvider
ret._transaction = _select._transaction;
ret._whereGlobalFilter = new List<GlobalFilter.Item>(_select._whereGlobalFilter.ToArray());
ret._cancel = _select._cancel;
ret._params.AddRange(_select._params);
if (ret._tables[0].Table == null) ret._tables[0].Table = TableInfo.GetDefaultTable(typeof(TDto));
Select0Provider.WithTempQueryParser parser = null;
_addFieldAlias = true; //解决:[Column(Name = "flevel") 与属性名不一致时,嵌套查询 bug