Synchronization code

This commit is contained in:
sunkaixuan 2024-02-21 20:10:06 +08:00
parent 341964a36d
commit 87ed91526d

View File

@ -120,7 +120,7 @@ namespace SqlSugar
ActionCallBack(resultValue);
}
}
return result;
return resultValue;
}
private int _ExecuteCommand(List<T> list)
{
@ -133,7 +133,7 @@ namespace SqlSugar
var addList = item.Select(it => it.Item).ToList();
resultValue += this.Context.Storageable(addList).As(item.Key).WhereColumns(whereExpression).ExecuteCommand();
}
return result;
return resultValue;
}
private async Task<int> _ExecuteSqlBulkCopyAsync(List<T> list)
@ -151,7 +151,7 @@ namespace SqlSugar
ActionCallBack(resultValue);
}
}
return result;
return resultValue;
}
private int _ExecuteSqlBulkCopy(List<T> list)
{
@ -164,7 +164,7 @@ namespace SqlSugar
var addList = item.Select(it => it.Item).ToList();
resultValue += this.Context.Storageable(addList).As(item.Key).WhereColumns(whereExpression).ExecuteSqlBulkCopy();
}
return result;
return resultValue;
}
private void GroupDataList(List<T> datas, out List<GroupModel> groupModels, out int result)