Skip to content

Commit

Permalink
同上
Browse files Browse the repository at this point in the history
  • Loading branch information
2881099 committed Jan 16, 2025
1 parent 92ff134 commit efe486a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1323,7 +1323,6 @@ public ISelect<TDto> InternalWithTempQuery<TDto>(Expression selector)
ret._transaction = _transaction;
ret._whereGlobalFilter = new List<GlobalFilter.Item>(_whereGlobalFilter.ToArray());
ret._cancel = _cancel;
ret._params.AddRange(_params);
if (ret._tables[0].Table == null) ret._tables[0].Table = TableInfo.GetDefaultTable(typeof(TDto));
if (selector is LambdaExpression lambdaExp && lambdaExp != null)
{
Expand All @@ -1339,6 +1338,7 @@ public ISelect<TDto> InternalWithTempQuery<TDto>(Expression selector)
var sql = $"\r\n{this.ToSql(parser._insideSelectList[0].InsideField)}";
ret.WithSql(sql);
ret._diymemexpWithTempQuery = parser;
ret._params.AddRange(_params);
return ret;
}

Expand Down

0 comments on commit efe486a

Please sign in to comment.