From 7371051db9b19381f42165153d17758a90d68f33 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期日, 29 十月 2023 00:24:36 +0800 Subject: [PATCH] 修改主数据按钮查询权限接口,VciBaseUtil中增加校验当前用户是否为配置的超管用户方法 --- Source/UBCS/ubcs-service/ubcs-user/src/main/java/com/vci/ubcs/system/user/service/IUserService.java | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Source/UBCS/ubcs-service/ubcs-user/src/main/java/com/vci/ubcs/system/user/service/IUserService.java b/Source/UBCS/ubcs-service/ubcs-user/src/main/java/com/vci/ubcs/system/user/service/IUserService.java index 74db1d6..056b171 100644 --- a/Source/UBCS/ubcs-service/ubcs-user/src/main/java/com/vci/ubcs/system/user/service/IUserService.java +++ b/Source/UBCS/ubcs-service/ubcs-user/src/main/java/com/vci/ubcs/system/user/service/IUserService.java @@ -28,6 +28,7 @@ import org.springblade.core.mp.support.Query; import com.vci.ubcs.system.user.vo.UserVO; import org.springblade.core.secure.BladeUser; +import org.springblade.core.tool.api.R; import java.util.List; import java.util.Map; @@ -90,11 +91,9 @@ * @return */ List<User> selectAllUser(User user, Long deptId); + /** * 鑾峰彇鎵�鏈� - * - * @param user - * @param deptId * @return */ List<User> selectAllUser(); @@ -262,4 +261,12 @@ */ List<Map<String,String>> getByRoleUserList(BladeUser user, String roleName); + /*** + * 鏇存柊鐢ㄦ埛鍚敤鍋滅敤鐘舵�� + * @param userIds + * @param status + * @return + */ + boolean updateUserStatus(String userIds,boolean status); + } -- Gitblit v1.9.3