修改了一些内容

This commit is contained in:
2025-08-22 20:24:09 +08:00
parent 2addd6d3b5
commit f821024756
23 changed files with 454 additions and 41 deletions

View File

@@ -1,6 +1,6 @@
using DMS.Core.Models;
namespace DMS.Infrastructure.Services;
namespace DMS.Core.Interfaces;
public interface IExcelService
{

View File

@@ -48,4 +48,10 @@ public interface IBaseRepository<T> where T : class
/// </summary>
/// <param name="number">从数据库获取数据的条数</param>
Task<List<T>> TakeAsync(int number);
/// <summary>
/// 异步批量添加实体。
/// </summary>
/// <param name="entities">要添加的实体列表。</param>
Task<bool> AddBatchAsync(List<T> entities);
}