|
|
@@ -152,6 +152,13 @@ public class MybatisInterceptor implements Interceptor {
|
|
|
if (sysUser != null) {
|
|
|
// 登录账号
|
|
|
updateBy = sysUser.getUsername();
|
|
|
+ } else {
|
|
|
+ field.setAccessible(true);
|
|
|
+ Object local_updateBy = field.get(parameter);
|
|
|
+ field.setAccessible(false);
|
|
|
+ if (oConvertUtils.isNotEmpty(local_updateBy)) {
|
|
|
+ updateBy = local_updateBy.toString();
|
|
|
+ }
|
|
|
}
|
|
|
if (oConvertUtils.isNotEmpty(updateBy)) {
|
|
|
field.setAccessible(true);
|