提交 dcba0965 authored 作者: hzh's avatar hzh

操作日志修改

上级 5ff006d3
......@@ -61,6 +61,11 @@ public class RemoteOperLogBo implements Serializable {
*/
private String operName;
/**
* 用户类型
*/
private String userType;
/**
* 部门名称
*/
......
......@@ -96,6 +96,7 @@ public class LogAspect {
operLog.setOperUrl(StringUtils.substring(ServletUtils.getRequest().getRequestURI(), 0, 255));
LoginUser loginUser = LoginHelper.getLoginUser();
operLog.setOperName(loginUser.getUsername());
operLog.setUserType(loginUser.getUserType());
operLog.setDeptName(loginUser.getDeptName());
if (e != null) {
......
......@@ -63,6 +63,11 @@ public class OperLogEvent implements Serializable {
*/
private String operName;
/**
* 用户类型
*/
private String userType;
/**
* 部门名称
*/
......
......@@ -62,6 +62,11 @@ public class SysOperLog implements Serializable {
*/
private String operName;
/**
* 用户类型
*/
private String userType;
/**
* 部门名称
*/
......
......@@ -69,6 +69,11 @@ public class SysOperLogBo {
*/
private String operName;
/**
* 用户类型
*/
private String userType;
/**
* 部门名称
*/
......
......@@ -81,6 +81,11 @@ public class SysOperLogVo implements Serializable {
@ExcelProperty(value = "操作人员")
private String operName;
/**
* 用户类型
*/
private String userType;
/**
* 部门名称
*/
......
......@@ -10,6 +10,7 @@ import org.dromara.system.domain.SysProject;
import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
/**
......@@ -45,5 +46,10 @@ public class SysProjectVo implements Serializable {
@Translation(type = TransConstant.USER_ID_TO_NAME)
private Long createBy;
/**
* 创建时间
*/
private Date createTime;
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论