From da1b18792b9ee43b0cc790ab31bbc25b925bb6cd Mon Sep 17 00:00:00 2001 From: zlyx <1242874891@qq.com> Date: 星期五, 30 十二月 2022 16:50:44 +0800 Subject: [PATCH] refactor 重构 BaseMapperPlus, 引入 MP V3.5.3 工具类 Db 进行批量增删改操作 ; --- ruoyi-system/src/main/java/com/ruoyi/system/listener/SysUserImportListener.java | 2 ++ 1 files changed, 2 insertions(+), 0 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 c53bebc..b883dae 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 @@ -66,6 +66,8 @@ user = BeanUtil.toBean(userVo, SysUser.class); user.setUserId(userId); ValidatorUtils.validate(user); + userService.checkUserAllowed(user); + userService.checkUserDataScope(user.getUserId()); user.setUpdateBy(operName); userService.updateUser(user); successNum++; -- Gitblit v1.9.3