修改了一些内容

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

@@ -24,8 +24,11 @@ public enum CSharpDataType
[Description("布尔型")] Bool,
[Description("字节型")] Byte,
[Description("短整型")] Short,
[Description("无符号短整型")] UShort,
[Description("整型")] Int,
[Description("无符号整型")] UInt,
[Description("长整型")] Long,
[Description("无符号长整型")] ULong,
[Description("浮点型")] Float,
[Description("双精度浮点型")] Double,
[Description("字符串型")] String,

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);
}