From 3cc6fb5535dc692f66c768dddb4fc4d43d908f67 Mon Sep 17 00:00:00 2001
From: oddfar <oddfar@163.com>
Date: Thu, 04 Jan 2024 21:11:13 +0800
Subject: [PATCH] update: 修改退出处理类的日志记录和返回内容
---
ruoyi-system/src/main/java/com/ruoyi/system/domain/SysOperLog.java | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysOperLog.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysOperLog.java
index 4110b8a..7286573 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysOperLog.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysOperLog.java
@@ -83,6 +83,10 @@
@Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date operTime;
+ /** 消耗时间 */
+ @Excel(name = "消耗时间", suffix = "毫秒")
+ private Long costTime;
+
public Long getOperId()
{
return operId;
@@ -252,4 +256,14 @@
{
this.operTime = operTime;
}
+
+ public Long getCostTime()
+ {
+ return costTime;
+ }
+
+ public void setCostTime(Long costTime)
+ {
+ this.costTime = costTime;
+ }
}
--
Gitblit v1.9.2