fajiao
2 years ago
2 changed files with 101 additions and 0 deletions
@ -0,0 +1,46 @@ |
|||||
|
using cd.dapper.extension; |
||||
|
using System; |
||||
|
|
||||
|
namespace learun.iapplication |
||||
|
{ |
||||
|
/// <summary>
|
||||
|
/// 版 本 EasyCode EC管理后台
|
||||
|
/// Copyright (c) 2019-present EC管理有限公司
|
||||
|
/// 创建人:tobin
|
||||
|
/// 日 期:2019.11.01
|
||||
|
/// 描 述:任务执行日志
|
||||
|
/// </summary>
|
||||
|
[Table("lr_ts_log")] |
||||
|
public class TSLogEntity |
||||
|
{ |
||||
|
#region 实体成员
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 主键
|
||||
|
/// </summary>
|
||||
|
[Key] |
||||
|
public string F_Id { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 任务名称
|
||||
|
/// </summary>
|
||||
|
public string F_Name { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 执行结果 1 :成功 2: 异常
|
||||
|
/// </summary>
|
||||
|
public int? F_ExecuteResult { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 创建时间
|
||||
|
/// </summary>
|
||||
|
public DateTime? F_CreateDate { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 描述
|
||||
|
/// </summary>
|
||||
|
public string F_Des { get; set; } |
||||
|
|
||||
|
#endregion 实体成员
|
||||
|
} |
||||
|
} |
@ -0,0 +1,55 @@ |
|||||
|
using ce.autofac.extension; |
||||
|
using learun.util; |
||||
|
using System.Collections.Generic; |
||||
|
using System.Threading.Tasks; |
||||
|
|
||||
|
namespace learun.iapplication |
||||
|
{ |
||||
|
/// <summary>
|
||||
|
/// 版 本 EasyCode EC管理后台
|
||||
|
/// Copyright (c) 2019-present EC管理有限公司
|
||||
|
/// 创建人:tobin
|
||||
|
/// 日 期:2019.11.01
|
||||
|
/// 描 述:任务执行日志
|
||||
|
/// </summary>
|
||||
|
public interface TSLogIBLL : IBLL |
||||
|
{ |
||||
|
#region 获取数据
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 获取页面显示列表数据
|
||||
|
/// </summary>
|
||||
|
/// <param name="pagination">分页参数</param>
|
||||
|
/// <param name="queryJson">查询参数</param>
|
||||
|
/// <returns></returns>
|
||||
|
Task<IEnumerable<TSLogEntity>> GetPageList(Pagination pagination, string queryJson); |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 获取LR_TS_Log表实体数据
|
||||
|
/// </summary>
|
||||
|
/// <param name="keyValue">主键</param>
|
||||
|
/// <returns></returns>
|
||||
|
Task<TSLogEntity> GetLogEntity(string keyValue); |
||||
|
|
||||
|
#endregion 获取数据
|
||||
|
|
||||
|
#region 提交数据
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 删除实体数据
|
||||
|
/// </summary>
|
||||
|
/// <param name="keyValue">主键</param>
|
||||
|
/// <returns></returns>
|
||||
|
Task DeleteEntity(string keyValue); |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 保存实体数据(新增、修改)
|
||||
|
/// </summary>
|
||||
|
/// <param name="keyValue">主键</param>
|
||||
|
/// <param name="entity">实体</param>
|
||||
|
/// <returns></returns>
|
||||
|
Task SaveEntity(string keyValue, TSLogEntity entity); |
||||
|
|
||||
|
#endregion 提交数据
|
||||
|
} |
||||
|
} |
Loading…
Reference in new issue