@ -126,6 +126,14 @@ namespace SqlSugar
{
StringBuilder batchInsetrSql = new StringBuilder();
int pageSize = 200;
if (this.EntityInfo.Columns.Count > 30)
pageSize = 50;
}
else if (this.EntityInfo.Columns.Count > 20)
pageSize = 100;
int pageIndex = 1;
int totalRecord = groupList.Count;
int pageCount = (totalRecord + pageSize - 1) / pageSize;