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/impl/UserSearchServiceImpl.java | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/Source/UBCS/ubcs-service/ubcs-user/src/main/java/com/vci/ubcs/system/user/service/impl/UserSearchServiceImpl.java b/Source/UBCS/ubcs-service/ubcs-user/src/main/java/com/vci/ubcs/system/user/service/impl/UserSearchServiceImpl.java index 3b1bfd4..aafc529 100644 --- a/Source/UBCS/ubcs-service/ubcs-user/src/main/java/com/vci/ubcs/system/user/service/impl/UserSearchServiceImpl.java +++ b/Source/UBCS/ubcs-service/ubcs-user/src/main/java/com/vci/ubcs/system/user/service/impl/UserSearchServiceImpl.java @@ -43,6 +43,11 @@ } @Override + public List<User> listAllUser() { + return this.list(); + } + + @Override public List<User> listByDept(List<Long> deptId) { LambdaQueryWrapper<User> queryWrapper = Wrappers.lambdaQuery(); deptId.forEach(id -> queryWrapper.like(User::getDeptId, id).or()); -- Gitblit v1.9.3