From 94e3a209bb9a31c4ddbd31494bb1628f6fe2e96e Mon Sep 17 00:00:00 2001 From: lidongdong <1459917685@qq.com> Date: 星期三, 12 十月 2022 17:54:49 +0800 Subject: [PATCH] 新增首页工单 办事指南排行榜接口 导办人员排行榜接口 组织排行榜接口 新增办事指南统计接口 导办人员统计接口 组织胖行榜统计接口 --- flower_city/src/main/java/com/dg/core/resolvers/CurrentUserMethodArgumentResolver.java | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/flower_city/src/main/java/com/dg/core/resolvers/CurrentUserMethodArgumentResolver.java b/flower_city/src/main/java/com/dg/core/resolvers/CurrentUserMethodArgumentResolver.java index 4294cae..269b9f5 100644 --- a/flower_city/src/main/java/com/dg/core/resolvers/CurrentUserMethodArgumentResolver.java +++ b/flower_city/src/main/java/com/dg/core/resolvers/CurrentUserMethodArgumentResolver.java @@ -39,8 +39,9 @@ Long currentUserId = (Long) webRequest.getAttribute(Constant.CURRENT_USER_ID, RequestAttributes.SCOPE_REQUEST); if (currentUserId != null) { //从数据库中查询并返回 - return userService.getUserById(currentUserId); + return userService.selectData(currentUserId+""); } - throw new MissingServletRequestPartException(Constant.CURRENT_USER_ID); + return null; +// throw new MissingServletRequestPartException(Constant.CURRENT_USER_ID); } } -- Gitblit v1.7.1