重构服务类和仓库类

This commit is contained in:
2025-07-19 22:29:50 +08:00
parent 5cf25dd9ac
commit 7faac9aef1
25 changed files with 324 additions and 502 deletions

View File

@@ -1,4 +1,5 @@
using DMS.Core.Models;
using SqlSugar;
using System.Collections.Generic;
using System.Threading.Tasks;
@@ -11,5 +12,8 @@ namespace DMS.Infrastructure.Interfaces
Task<int> DeleteAsync(DbDevice model);
Task<List<DbDevice>> GetAllAsync();
Task<DbDevice> GetByIdAsync(int id);
Task BeginTranAsync();
Task CommitTranAsync();
Task RollbackTranAsync();
}
}