From 3d357aa87082138176a5dcc506bde3a50e9b5808 Mon Sep 17 00:00:00 2001 From: fajiao <1519100073@qq.com> Date: Wed, 14 Jun 2023 17:02:16 +0800 Subject: [PATCH] [commit] commit Log/TSLogEntity.cs Log/TSLogIBLL.cs --- .../TaskScheduling/Log/TSLogEntity.cs | 46 ++++++++++++++++ .../TaskScheduling/Log/TSLogIBLL.cs | 55 +++++++++++++++++++ 2 files changed, 101 insertions(+) create mode 100644 learun.core/learun.iapplication/TaskScheduling/Log/TSLogEntity.cs create mode 100644 learun.core/learun.iapplication/TaskScheduling/Log/TSLogIBLL.cs diff --git a/learun.core/learun.iapplication/TaskScheduling/Log/TSLogEntity.cs b/learun.core/learun.iapplication/TaskScheduling/Log/TSLogEntity.cs new file mode 100644 index 0000000..021f73a --- /dev/null +++ b/learun.core/learun.iapplication/TaskScheduling/Log/TSLogEntity.cs @@ -0,0 +1,46 @@ +using cd.dapper.extension; +using System; + +namespace learun.iapplication +{ + /// + /// 版 本 EasyCode EC管理后台 + /// Copyright (c) 2019-present EC管理有限公司 + /// 创建人:tobin + /// 日 期:2019.11.01 + /// 描 述:任务执行日志 + /// + [Table("lr_ts_log")] + public class TSLogEntity + { + #region 实体成员 + + /// + /// 主键 + /// + [Key] + public string F_Id { get; set; } + + /// + /// 任务名称 + /// + public string F_Name { get; set; } + + /// + /// 执行结果 1 :成功 2: 异常 + /// + public int? F_ExecuteResult { get; set; } + + /// + /// 创建时间 + /// + public DateTime? F_CreateDate { get; set; } + + /// + /// 描述 + /// + public string F_Des { get; set; } + + #endregion 实体成员 + } +} \ No newline at end of file diff --git a/learun.core/learun.iapplication/TaskScheduling/Log/TSLogIBLL.cs b/learun.core/learun.iapplication/TaskScheduling/Log/TSLogIBLL.cs new file mode 100644 index 0000000..37ff555 --- /dev/null +++ b/learun.core/learun.iapplication/TaskScheduling/Log/TSLogIBLL.cs @@ -0,0 +1,55 @@ +using ce.autofac.extension; +using learun.util; +using System.Collections.Generic; +using System.Threading.Tasks; + +namespace learun.iapplication +{ + /// + /// 版 本 EasyCode EC管理后台 + /// Copyright (c) 2019-present EC管理有限公司 + /// 创建人:tobin + /// 日 期:2019.11.01 + /// 描 述:任务执行日志 + /// + public interface TSLogIBLL : IBLL + { + #region 获取数据 + + /// + /// 获取页面显示列表数据 + /// + /// 分页参数 + /// 查询参数 + /// + Task> GetPageList(Pagination pagination, string queryJson); + + /// + /// 获取LR_TS_Log表实体数据 + /// + /// 主键 + /// + Task GetLogEntity(string keyValue); + + #endregion 获取数据 + + #region 提交数据 + + /// + /// 删除实体数据 + /// + /// 主键 + /// + Task DeleteEntity(string keyValue); + + /// + /// 保存实体数据(新增、修改) + /// + /// 主键 + /// 实体 + /// + Task SaveEntity(string keyValue, TSLogEntity entity); + + #endregion 提交数据 + } +} \ No newline at end of file