qinchulong
2025-03-01 56894088e78134da71091b7cee828f09cebb4076
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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;
        }
    }
}