mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Update Subquery.ToList
This commit is contained in:
parent
5ae4f97564
commit
9ae5e0d2df
@ -692,6 +692,10 @@ namespace SqlSugar
|
||||
{
|
||||
return result.Replace("/**/*", "");
|
||||
}
|
||||
if (this.IsSingle() && this.SubToListParameters != null&& expression is LambdaExpression && this.SubToListParameters.Count > 0 && this.TableShortName == null)
|
||||
{
|
||||
this.TableShortName =this.Builder.GetTranslationColumnName((expression as LambdaExpression).Parameters[0].Name);
|
||||
}
|
||||
if (result.Contains(".*") && this.IsSingle())
|
||||
{
|
||||
return "*";
|
||||
|
Loading…
Reference in New Issue
Block a user