From 7ec6e42cc36510b74009a5859e6be2317a4fb831 Mon Sep 17 00:00:00 2001 From: lidongdong <1459917685@qq.com> Date: 星期二, 27 六月 2023 17:24:37 +0800 Subject: [PATCH] 新增三资公开区域筛选接口添加社区信息 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComSanShuoEventController.java | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComSanShuoEventController.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComSanShuoEventController.java index e7fdfca..7937081 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComSanShuoEventController.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComSanShuoEventController.java @@ -173,7 +173,9 @@ String appId = userService.detailUser(loginUserInfo.getUserId()).getData().getAppId(); comEvent.setAppId(appId); } - return comEventService.pageByComEvent(comEvent, pagination,this.getLoginUserInfo()); + LoginUserInfoVO loginUserInfo1 = this.getLoginUserInfo(); + loginUserInfo1.setType(userService.detailUser(loginUserInfo.getUserId()).getData().getType()); + return comEventService.pageByComEvent(comEvent, pagination,loginUserInfo1); } @@ -333,7 +335,9 @@ @ApiOperation("事件各种状态(处理状态1待处理2待验证3专家已受理4专家未受理,拒绝5调解中6已结案归档7调解取消8 已删除)数据统计") @GetMapping("/status/calculate") public R calculate(@RequestParam(value = "level",required = false)Integer level,@RequestParam(value = "id",required = false)Long id) { - return comEventService.calculate(getLoginUserInfo(),level,id); + LoginUserInfoVO loginUserInfo = getLoginUserInfo(); + loginUserInfo.setType(userService.detailUser(loginUserInfo.getUserId()).getData().getType()); + return comEventService.calculate(loginUserInfo,level,id); } /** -- Gitblit v1.7.1