Update Core

This commit is contained in:
sunkaixuan 2022-05-12 16:29:36 +08:00
parent 2f777acc51
commit 86a486d0a7

View File

@ -1048,7 +1048,8 @@ namespace SqlSugar
this.QueryBuilder.Take == null&&
this.QueryBuilder.OrderByValue == null &&
this.QueryBuilder.PartitionByValue == null&&
this.QueryBuilder.SelectValue==null)
this.QueryBuilder.SelectValue==null&&
this.QueryBuilder.Includes == null)
{
return this.Clone().Select<int>(" COUNT(1) ").ToList().First();