Browse Source

Bug: Subquery.ToList

pull/29/head
sunkaixuan 2 years ago
parent
commit
3bb1db7d34
  1. 4
      Src/Asp.Net/SqlSugar/Abstract/QueryableProvider/QueryableHelper.cs

4
Src/Asp.Net/SqlSugar/Abstract/QueryableProvider/QueryableHelper.cs

@ -1412,6 +1412,10 @@ namespace SqlSugar
private void _SubQuery<TResult>(List<TResult> result)
{
if (result == null || result.Count == 0)
{
return;
}
var isSubToList = this.QueryBuilder.SubToListParameters != null && this.QueryBuilder.SubToListParameters.Any();
if (!isSubToList)
{

Loading…
Cancel
Save