mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-23 12:33:44 +08:00
Update .net core project
This commit is contained in:
@@ -56,6 +56,10 @@ namespace SqlSugar
|
|||||||
StringBuilder batchInsetrSql = new StringBuilder();
|
StringBuilder batchInsetrSql = new StringBuilder();
|
||||||
int pageSize = 200;
|
int pageSize = 200;
|
||||||
int pageIndex = 1;
|
int pageIndex = 1;
|
||||||
|
if (IsNoPage&&IsReturnPkList)
|
||||||
|
{
|
||||||
|
pageSize = groupList.Count;
|
||||||
|
}
|
||||||
int totalRecord = groupList.Count;
|
int totalRecord = groupList.Count;
|
||||||
int pageCount = (totalRecord + pageSize - 1) / pageSize;
|
int pageCount = (totalRecord + pageSize - 1) / pageSize;
|
||||||
while (pageCount >= pageIndex)
|
while (pageCount >= pageIndex)
|
||||||
|
Reference in New Issue
Block a user