mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-04-22 18:52:50 +08:00
- 优化 FromQuery SQL;
This commit is contained in:
parent
c2b8650665
commit
24f456dd38
@ -136,7 +136,10 @@ namespace FreeSql.Internal.CommonProvider
|
||||
if (select2sp._diymemexpWithTempQuery == null)
|
||||
{
|
||||
if (select2sp._tableRule == null && select2sp.IsDefaultSqlContent == true)
|
||||
{
|
||||
rettbs[1].Table = select2sp._tables[0].Table;
|
||||
return ret;
|
||||
}
|
||||
sql2 = select2?.ToSql(a => a, FieldAliasOptions.AsProperty);
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user