using AutoMapper;
|
using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
using WIDESEAWCS_Core;
|
using WIDESEAWCS_Core.BaseRepository;
|
using WIDESEAWCS_Core.BaseServices;
|
using WIDESEAWCS_ISystemServices;
|
using WIDESEAWCS_Model.Models;
|
|
namespace WIDESEAWCS_SystemServices
|
{
|
public class dt_errormsginfoService : ServiceBase<dt_errorInfo, IRepository<dt_errorInfo>>, Idt_ErrormsginfoService
|
{
|
private readonly IMapper _mapper;
|
/// <summary>
|
/// 仓储层(数据库访问)
|
/// </summary>
|
public IRepository<dt_errorInfo> Repository => BaseDal;
|
public dt_errormsginfoService(IRepository<dt_errorInfo> BaseDal, IMapper mapper) : base(BaseDal)
|
{
|
_mapper = mapper;
|
}
|
|
/// <summary>
|
/// 更新响应的错误信息到数据库,前端界面显示
|
/// </summary>
|
/// <param name="message"></param>
|
/// <returns></returns>
|
public WebResponseContent UpdateErrorMsg(string message,int id)
|
{
|
WebResponseContent webResponse = new WebResponseContent();
|
|
|
|
return webResponse;
|
}
|
}
|
}
|