diff --git a/Src/Asp.Net/SqlSugar/Realization/Oracle/SqlBuilder/OracleInsertBuilder.cs b/Src/Asp.Net/SqlSugar/Realization/Oracle/SqlBuilder/OracleInsertBuilder.cs index db4f313d2..cdb2cc3e8 100644 --- a/Src/Asp.Net/SqlSugar/Realization/Oracle/SqlBuilder/OracleInsertBuilder.cs +++ b/Src/Asp.Net/SqlSugar/Realization/Oracle/SqlBuilder/OracleInsertBuilder.cs @@ -58,7 +58,12 @@ namespace SqlSugar } else { - string result = Big(identities, groupList, columnsString); + var pageSize = bigSize; + if (pageSize > 100) + { + pageSize = 100; + } + string result = Big(identities, groupList, columnsString, pageSize); return result; } } @@ -87,9 +92,9 @@ namespace SqlSugar return bigSize; } - private string Big(List identities, List> groupList, string columnsString) + private string Big(List identities, List> groupList, string columnsString, int pageSize) { - this.Context.Utilities.PageEach(groupList, 100, groupListPasge => + this.Context.Utilities.PageEach(groupList, pageSize, groupListPasge => { this.Parameters = new List(); var sql = Small(identities, groupListPasge, columnsString);