疯狂的狮子li
2022-07-07 d9e54388e7fde2462e8b7e0165c5e7da3f202593
ruoyi-system/src/main/java/com/ruoyi/system/domain/SysOperLog.java
@@ -2,15 +2,12 @@
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
@@ -20,22 +17,21 @@
/**
 * 操作日志记录表 oper_log
 *
 * @author ruoyi
 * @author Lion Li
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sys_oper_log")
@ExcelIgnoreUnannotated
public class SysOperLog implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 日志主键
     */
    @ExcelProperty(value = "操作序号")
    @TableId(value = "oper_id", type = IdType.AUTO)
    @ExcelProperty(value = "日志主键")
    @TableId(value = "oper_id")
    private Long operId;
    /**
@@ -48,7 +44,7 @@
     * 业务类型(0其它 1新增 2修改 3删除)
     */
    @ExcelProperty(value = "业务类型", converter = ExcelDictConvert.class)
   @ExcelDictFormat(dictType = "sys_oper_type")
    @ExcelDictFormat(dictType = "sys_oper_type")
    private Integer businessType;
    /**
@@ -73,7 +69,7 @@
     * 操作类别(0其它 1后台用户 2手机端用户)
     */
    @ExcelProperty(value = "操作类别", converter = ExcelDictConvert.class)
   @ExcelDictFormat(readConverterExp = "0=其它,1=后台用户,2=手机端用户")
    @ExcelDictFormat(readConverterExp = "0=其它,1=后台用户,2=手机端用户")
    private Integer operatorType;
    /**
@@ -122,7 +118,7 @@
     * 操作状态(0正常 1异常)
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
   @ExcelDictFormat(dictType = "sys_common_status")
    @ExcelDictFormat(dictType = "sys_common_status")
    private Integer status;
    /**