From abc378c727b0a327702277350b1a9d294223d0ad Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期一, 13 十二月 2021 10:03:00 +0800 Subject: [PATCH] fix 修复代码生成 导出注解错误 --- ruoyi-system/src/main/java/com/ruoyi/system/listener/SysUserImportListener.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/listener/SysUserImportListener.java b/ruoyi-system/src/main/java/com/ruoyi/system/listener/SysUserImportListener.java index d0fd7d0..c655110 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/listener/SysUserImportListener.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/listener/SysUserImportListener.java @@ -7,6 +7,7 @@ import com.ruoyi.common.excel.ExcelListener; import com.ruoyi.common.excel.ExcelResult; import com.ruoyi.common.exception.ServiceException; +import com.ruoyi.common.utils.LoginUtils; import com.ruoyi.common.utils.SecurityUtils; import com.ruoyi.common.utils.StringUtils; import com.ruoyi.common.utils.spring.SpringUtils; @@ -43,7 +44,7 @@ this.password = SpringUtils.getBean(ISysConfigService.class) .selectConfigByKey("sys.user.initPassword"); this.isUpdateSupport = isUpdateSupport; - this.operName = SecurityUtils.getUsername(); + this.operName = LoginUtils.getUsername(); } @Override -- Gitblit v1.9.3