From f879ddd80a2bd267a0a575ef03f76d3ec2ae1504 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期四, 04 一月 2024 11:42:22 +0800 Subject: [PATCH] bug列表269:集成日志查询bug修改。 270:关键属性校验,去掉多线程之后请求响应非常慢(之前报错线程阻塞的bug改成单线程导致非常慢,现在又改回ForJoinPool方式限制线程生成数量实现多线程并行,提升执行效率)。 --- Source/UBCS/ubcs-service/ubcs-system/src/main/java/com/vci/ubcs/system/feign/SysClient.java | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/Source/UBCS/ubcs-service/ubcs-system/src/main/java/com/vci/ubcs/system/feign/SysClient.java b/Source/UBCS/ubcs-service/ubcs-system/src/main/java/com/vci/ubcs/system/feign/SysClient.java index 3d7742b..f96ff31 100644 --- a/Source/UBCS/ubcs-service/ubcs-system/src/main/java/com/vci/ubcs/system/feign/SysClient.java +++ b/Source/UBCS/ubcs-service/ubcs-system/src/main/java/com/vci/ubcs/system/feign/SysClient.java @@ -21,6 +21,7 @@ import com.vci.ubcs.system.vo.DeptVO; import com.vci.ubcs.system.vo.RoleVO; import lombok.AllArgsConstructor; +import org.springblade.core.secure.utils.AuthUtil; import org.springblade.core.tenant.annotation.NonDS; import org.springblade.core.tool.api.R; import org.springframework.web.bind.annotation.*; @@ -61,6 +62,8 @@ private final IMdmCountConfigService mdmCountConfigService; + private final IClassifyAuthService classifyAuthService; + @Override @GetMapping(MENU) public R<Menu> getMenu(Long id) { @@ -81,7 +84,7 @@ @Override @GetMapping(MENU_BUTTON) public R<List<Menu>> getMenuButtonByType(String btmType) { - return R.data(menuService.getMenuButtonByType(btmType)); + return R.data(menuService.getMenuButtonByType(btmType, AuthUtil.getUserId())); } @Override @@ -261,4 +264,8 @@ return R.data(mdmCountConfigService.getMdmCountConfig(userId)); } + public R<List<String>> getViewClassByRoleIds(List<String> roleIds){ + return R.data(classifyAuthService.getViewClassByRoleIds(roleIds)); + } + } -- Gitblit v1.9.3