From 72204a91cd4e734adfcc5e5a5aace9f6fbb30223 Mon Sep 17 00:00:00 2001
From: lidongdong <1459917685@qq.com>
Date: 星期五, 06 九月 2024 18:10:34 +0800
Subject: [PATCH] 花城 修改双报道个人服务统计时常次数不正确3
---
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComSanShuoEventController.java | 9 +++++----
1 files changed, 5 insertions(+), 4 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 9602c69..9995455 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
@@ -174,10 +174,11 @@
String appId = getAppId();
comEvent.setAppId(appId);
}
+ comEvent.setCommunityId(loginUserInfo.getCommunityId());
LoginUserInfoVO loginUserInfo1 = this.getLoginUserInfo();
- loginUserInfo1.setType(userService.detailUser(loginUserInfo.getUserId()).getData().getType());
- loginUserInfo1.setType(loginUserInfo.getType());
- return comEventService.pageByComEvent(comEvent, pagination,loginUserInfo);
+ loginUserInfo1.setType(userService.detailUser(this.getUserId()).getData().getType());
+// loginUserInfo1.setType(loginUserInfo.getType());
+ return comEventService.pageByComEvent(comEvent, pagination,loginUserInfo1);
}
@@ -338,7 +339,7 @@
@GetMapping("/status/calculate")
public R calculate(@RequestParam(value = "level",required = false)Integer level,@RequestParam(value = "id",required = false)Long id) {
LoginUserInfoVO loginUserInfo = getLoginUserInfo();
-// loginUserInfo.setType(userService.detailUser(loginUserInfo.getUserId()).getData().getType());
+ loginUserInfo.setType(userService.detailUser(loginUserInfo.getUserId()).getData().getType());
return comEventService.calculate(loginUserInfo,level,id);
}
--
Gitblit v1.7.1