Update SqlServer

This commit is contained in:
sunkaixuan 2022-08-23 23:49:50 +08:00
parent a5f713533d
commit 58f0b23f65

View File

@ -41,7 +41,10 @@ namespace SqlSugar
}
if (IsNoPage)
{
pageSize = groupList.Count;
if(this.EntityInfo.Columns.Any(it => it.IsIdentity))
{
pageSize = groupList.Count;
}
}
int pageIndex = 1;
int totalRecord = groupList.Count;