You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AUCMA_SCADA/Admin.Core.Service/Service_New/ExceptionRecordServices.cs

36 lines
1.0 KiB
C#

using Admin.Core.IRepository;
using Admin.Core.IService;
using Admin.Core.Model;
using Admin.Core.Model.Model_New;
using Admin.Core.Model.ViewModels;
using Consul;
using log4net;
using Microsoft.IdentityModel.Logging;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Admin.Core.Service
{
public class ExceptionRecordServices : BaseServices<ExceptionRecord>, IExceptionRecordServices
{
#region 对象引用
private static readonly log4net.ILog log = LogManager.GetLogger(typeof(ExceptionRecordServices));
#endregion
private readonly IBaseRepository<ExceptionRecord> _dal;
private IExceptionRecordRepository _exceptionRecordRepository;
public ExceptionRecordServices(IBaseRepository<ExceptionRecord> dal, IExceptionRecordRepository exceptionRecordRepository)
{
this._dal = dal;
base.BaseDal = dal;
_exceptionRecordRepository = exceptionRecordRepository;
}
}
}