From 83a09c475d46bb894ab9708f585fd3bfdc92c82a Mon Sep 17 00:00:00 2001
From: 疯狂的狮子li <15040126243@163.com>
Date: 星期四, 03 十一月 2022 16:23:53 +0800
Subject: [PATCH] update 优化 桶权限类型标签 使用el-tag简化写法

---
 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