!399 解决操作日志记录报错的问题

Merge pull request !399 from 麦克学IT/master
This commit is contained in:
芋道源码 2023-02-05 10:27:23 +00:00 committed by Gitee
commit c3f95aa9ee
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -196,7 +196,7 @@ public class OperateLogAspect {
operateLogObj.setName(operateLog.name()); operateLogObj.setName(operateLog.name());
} }
if (StrUtil.isEmpty(operateLogObj.getName()) && operation != null) { if (StrUtil.isEmpty(operateLogObj.getName()) && operation != null) {
operateLogObj.setName(operation.description()); operateLogObj.setName(operation.summary());
} }
// type 属性 // type 属性
if (operateLog != null && ArrayUtil.isNotEmpty(operateLog.type())) { if (operateLog != null && ArrayUtil.isNotEmpty(operateLog.type())) {