修改批量导入变量返回实体,防止Io为0的问题

This commit is contained in:
2025-09-15 13:12:14 +08:00
parent d622d73057
commit 4773e87886
26 changed files with 171 additions and 139 deletions

View File

@@ -59,5 +59,5 @@ public interface IBaseRepository<T> where T : class
/// 异步批量添加实体。
/// </summary>
/// <param name="entities">要添加的实体列表。</param>
Task<bool> AddBatchAsync(List<T> entities);
Task<List<T>> AddBatchAsync(List<T> entities);
}