Update Oracle insert big data

This commit is contained in:
sunkaixuan
2022-10-07 19:31:17 +08:00
parent fc46c88984
commit 3fc3925499
2 changed files with 4 additions and 2 deletions

View File

@@ -66,8 +66,9 @@ namespace SqlSugar
{
this.Context.Utilities.PageEach(groupList, 100, groupListPasge =>
{
this.Parameters = new List<SugarParameter>();
var sql = Small(identities, groupListPasge, columnsString);
this.Context.Ado.ExecuteCommand(sql);
this.Context.Ado.ExecuteCommand(sql, this.Parameters);
});
if (identities!=null&identities.Count > 0&& this.OracleSeqInfoList!=null&& this.OracleSeqInfoList.Any())
{

View File

@@ -66,8 +66,9 @@ namespace SqlSugar
{
this.Context.Utilities.PageEach(groupList, 100, groupListPasge =>
{
this.Parameters = new List<SugarParameter>();
var sql = Small(identities, groupListPasge, columnsString);
this.Context.Ado.ExecuteCommand(sql);
this.Context.Ado.ExecuteCommand(sql, this.Parameters);
});
if (identities!=null&identities.Count > 0&& this.OracleSeqInfoList!=null&& this.OracleSeqInfoList.Any())
{