Update .net core project

This commit is contained in:
sunkaixuan 2022-08-24 01:07:33 +08:00
parent aae91c90a0
commit 0aa5cf6961

View File

@ -56,6 +56,10 @@ namespace SqlSugar
StringBuilder batchInsetrSql = new StringBuilder();
int pageSize = 200;
int pageIndex = 1;
if (IsNoPage&&IsReturnPkList)
{
pageSize = groupList.Count;
}
int totalRecord = groupList.Count;
int pageCount = (totalRecord + pageSize - 1) / pageSize;
while (pageCount >= pageIndex)