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