Synchronization code

This commit is contained in:
sunkaixuan 2023-12-15 16:32:38 +08:00
parent 8ca7f6cb0a
commit 66101d10bc

View File

@ -2398,7 +2398,7 @@ namespace SqlSugar
{
if (this.QueryBuilder.IsSingle() == false && this.QueryBuilder.SelectValue is LambdaExpression exp &&this.QueryBuilder.AsTables?.Any()==false)
{
if (exp.Parameters.Count == this.QueryBuilder.JoinQueryInfos.Count)
if (exp.Parameters.Count == this.QueryBuilder.JoinQueryInfos.Count+1)
{
return true;
}