部分功能导出Excel新增忽略列
This commit is contained in:
@@ -3,6 +3,7 @@ using SqlSugar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using OfficeOpenXml.Attributes;
|
||||
|
||||
namespace ZR.Model.System
|
||||
{
|
||||
@@ -26,11 +27,11 @@ namespace ZR.Model.System
|
||||
|
||||
/** 请求方法 */
|
||||
//@Excel(name = "请求方法")
|
||||
public String method { get; set; }
|
||||
public string method { get; set; }
|
||||
|
||||
/** 请求方式 */
|
||||
//@Excel(name = "请求方式")
|
||||
public String requestMethod { get; set; }
|
||||
public string requestMethod { get; set; }
|
||||
|
||||
/** 操作类别(0其它 1后台用户 2手机端用户) */
|
||||
//@Excel(name = "操作类别", readConverterExp = "0=其它,1=后台用户,2=手机端用户")
|
||||
@@ -38,31 +39,31 @@ namespace ZR.Model.System
|
||||
|
||||
/** 操作人员 */
|
||||
//@Excel(name = "操作人员")
|
||||
public String operName { get; set; }
|
||||
public string operName { get; set; }
|
||||
|
||||
/** 部门名称 */
|
||||
//@Excel(name = "部门名称")
|
||||
public String deptName { get; set; }
|
||||
public string deptName { get; set; }
|
||||
|
||||
/** 请求url */
|
||||
//@Excel(name = "请求地址")
|
||||
public String operUrl { get; set; }
|
||||
public string operUrl { get; set; }
|
||||
|
||||
/** 操作地址 */
|
||||
//@Excel(name = "操作地址")
|
||||
public String operIp { get; set; }
|
||||
public string operIp { get; set; }
|
||||
|
||||
/** 操作地点 */
|
||||
//@Excel(name = "操作地点")
|
||||
public String operLocation { get; set; }
|
||||
public string operLocation { get; set; }
|
||||
|
||||
/** 请求参数 */
|
||||
//@Excel(name = "请求参数")
|
||||
public String operParam { get; set; }
|
||||
public string operParam { get; set; }
|
||||
|
||||
/** 返回参数 */
|
||||
//@Excel(name = "返回参数")
|
||||
public String jsonResult { get; set; }
|
||||
public string jsonResult { get; set; }
|
||||
|
||||
/** 操作状态(0正常 1异常) */
|
||||
//@Excel(name = "状态", readConverterExp = "0=正常,1=异常")
|
||||
@@ -70,13 +71,14 @@ namespace ZR.Model.System
|
||||
|
||||
/** 错误消息 */
|
||||
//@Excel(name = "错误消息")
|
||||
public String errorMsg { get; set; }
|
||||
public string errorMsg { get; set; }
|
||||
|
||||
/** 操作时间 */
|
||||
//@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
//@Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
||||
//[DataType]
|
||||
[JsonConverter(typeof(JsonDateConverter))]
|
||||
[EpplusTableColumn(NumberFormat = "yyyy-MM-dd HH:mm:ss")]
|
||||
public DateTime? operTime { get; set; }
|
||||
/// <summary>
|
||||
/// 操作用时
|
||||
|
||||
Reference in New Issue
Block a user