Exemplo n.º 1
0
        /// <summary>
        /// 获取任务异常日志列表
        /// </summary>
        /// <param name="filter">查询条件</param>
        /// <returns></returns>
        public List <ErrorLogDto> GetErrorLogList(ErrorLogFilterDto filter)
        {
            var errorLogList = errorLogService.GetErrorLogList(CreateQueryObject(filter));

            return(errorLogList.Select(c => c.MapTo <ErrorLogDto>()).ToList());
        }