feat(sys_oper_log): 新增操作日志备注字段

main
zangch@mesnac.com 3 months ago
parent 28d80149b4
commit acfe88dfa9

@ -112,4 +112,9 @@ public class SysOperLog implements Serializable {
*/
private Long costTime;
/**
* 便
*/
private String operRemark;
}

@ -119,6 +119,11 @@ public class SysOperLogBo {
*/
private Long costTime;
/**
*
*/
private String operRemark;
/**
*
*/

@ -141,4 +141,10 @@ public class SysOperLogVo implements Serializable {
*/
@ExcelProperty(value = "消耗时间")
private Long costTime;
/**
*
*/
@ExcelProperty(value = "操作备注")
private String operRemark;
}

@ -81,6 +81,7 @@ public class SysOperLogServiceImpl implements ISysOperLogService {
.eq(operLog.getStatus() != null,
SysOperLog::getStatus, operLog.getStatus())
.like(StringUtils.isNotBlank(operLog.getOperName()), SysOperLog::getOperName, operLog.getOperName())
.like(StringUtils.isNotBlank(operLog.getOperRemark()), SysOperLog::getOperRemark, operLog.getOperRemark())
.between(params.get("beginTime") != null && params.get("endTime") != null,
SysOperLog::getOperTime, params.get("beginTime"), params.get("endTime"));
}

Loading…
Cancel
Save