解决操作日志记录报错的问题
javax.validation.ConstraintViolationException: createOperateLog.arg0.name: 操作名
This commit is contained in:
parent
5addbb23d2
commit
c3836ca98b
@ -196,7 +196,7 @@ public class OperateLogAspect {
|
||||
operateLogObj.setName(operateLog.name());
|
||||
}
|
||||
if (StrUtil.isEmpty(operateLogObj.getName()) && operation != null) {
|
||||
operateLogObj.setName(operation.description());
|
||||
operateLogObj.setName(operation.summary());
|
||||
}
|
||||
// type 属性
|
||||
if (operateLog != null && ArrayUtil.isNotEmpty(operateLog.type())) {
|
||||
|
Loading…
Reference in New Issue
Block a user