2025-07-19 14:36:34 +08:00
|
|
|
using AutoMapper;
|
|
|
|
|
using DMS.Core.Helper;
|
|
|
|
|
using DMS.Core.Models;
|
|
|
|
|
using DMS.Infrastructure.Data;
|
|
|
|
|
using DMS.Infrastructure.Entities;
|
|
|
|
|
using DMS.Infrastructure.Repositories;
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Diagnostics;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Threading.Tasks;
|
2025-07-19 19:55:42 +08:00
|
|
|
using System.Collections.Concurrent;
|
2025-07-21 18:49:49 +08:00
|
|
|
using DMS.Core.Interfaces;
|
|
|
|
|
using DMS.Core.Interfaces.Repositories;
|
2025-07-19 14:36:34 +08:00
|
|
|
|
|
|
|
|
namespace DMS.Infrastructure.Services
|
|
|
|
|
{
|
2025-07-21 22:02:42 +08:00
|
|
|
public class DeviceService : BaseService<Device, DeviceRepository>
|
2025-07-19 14:36:34 +08:00
|
|
|
{
|
2025-07-19 22:29:50 +08:00
|
|
|
private readonly IDeviceRepository _deviceRepository;
|
2025-07-19 19:55:42 +08:00
|
|
|
|
2025-07-21 22:02:42 +08:00
|
|
|
public DeviceService(DeviceRepository repository) : base(repository)
|
2025-07-19 14:36:34 +08:00
|
|
|
{
|
2025-07-19 22:29:50 +08:00
|
|
|
_deviceRepository = repository;
|
2025-07-19 14:36:34 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
2025-07-21 22:02:42 +08:00
|
|
|
}
|