Update Subquery.ToList

This commit is contained in:
sunkaixuan 2022-12-04 03:59:09 +08:00
parent 78874a172c
commit c3e02b3ee7
3 changed files with 12 additions and 0 deletions

View File

@ -97,6 +97,10 @@ namespace SqlSugar.ClickHouse
{
result = "distinct "+result;
}
if (this.SubToListParameters != null && this.SubToListParameters.Any())
{
result = SubToListMethod(result);
}
return result;
}
}

View File

@ -151,6 +151,10 @@ namespace SqlSugar.GBase
{
result = " DISTINCT " + result;
}
if (this.SubToListParameters != null && this.SubToListParameters.Any())
{
result = SubToListMethod(result);
}
return result;
}
}

View File

@ -151,6 +151,10 @@ namespace SqlSugar.Odbc
{
result = " DISTINCT " + result;
}
if (this.SubToListParameters != null && this.SubToListParameters.Any())
{
result = SubToListMethod(result);
}
return result;
}
}