重构服务类和仓库类
This commit is contained in:
@@ -13,8 +13,8 @@ namespace DMS.Infrastructure.Repositories;
|
||||
public class DeviceRepository : BaseRepository<DbDevice>,IDeviceRepository
|
||||
{
|
||||
|
||||
public DeviceRepository(ITransaction transaction)
|
||||
: base(transaction)
|
||||
public DeviceRepository(SqlSugarDbContext dbContext)
|
||||
: base(dbContext)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user