From 43f0578e80af82ecae6c61b51bd0539c6b960603 Mon Sep 17 00:00:00 2001 From: puhanshu <a9236326> Date: 星期二, 16 八月 2022 19:08:32 +0800 Subject: [PATCH] 服务范围优化 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java | 70 +++++++++++++++++++++++++++++++++-- 1 files changed, 66 insertions(+), 4 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java index edabfdc..e6935de 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java @@ -3,6 +3,8 @@ import java.util.List; import com.panzhihua.common.model.dtos.PageBaseDTO; +import com.panzhihua.common.model.dtos.community.ActivityInviteDTO; +import com.panzhihua.common.model.dtos.community.PageActivityInviteDTO; import com.panzhihua.common.model.dtos.community.acid.*; import com.panzhihua.common.model.dtos.community.dpc.AddDpcDTO; import com.panzhihua.common.model.dtos.community.dpc.EditDpcDTO; @@ -5056,7 +5058,7 @@ * @return 社区列表 */ @GetMapping("/eventgrid/community/westList") - R getWestCommunityLists(@RequestParam("areaCode")String areaCode); + R getWestCommunityLists(@RequestParam(value = "areaCode",required = false)String areaCode); /** * 综治app-小区列表 @@ -5349,14 +5351,23 @@ R getIntegralReceiveApplets(@RequestParam("userId") Long userId, @RequestParam("communityId") Long communityId); /** - * 小程序-查询用户积分列表 + * 小程序-积分统计 * * @param userId * 用户id * @return 用户积分列表 */ - @PostMapping("/integral/user/list/applets") - R getIntegralUserListApplets(@RequestParam("userId") Long userId, @RequestParam("communityId") Long communityId); + @GetMapping("/integral/user/statistics") + R getIntegralUserListApplets(@RequestParam("userId") Long userId, @RequestParam(value = "communityId", required = false) Long communityId); + + /** + * 查询我的积分余额 + * @param userId + * @param communityId + * @return + */ + @GetMapping("/integral/user/balance") + R getUserIntegralBalance(@RequestParam("userId") Long userId, @RequestParam("communityId") Long communityId); /** * 小程序-查询社区积分账户排行榜 @@ -5649,6 +5660,9 @@ @PostMapping("/reserve/commitNoToken") R reserveCommitNoToken(@RequestBody ComActReserveCommitVO comActReserveCommitVO); + + @PostMapping("/reserve/homeQuarantine/commitNoToken") + R homeQuarantineCommitNoToken(@RequestBody ComActReserveCommitVO comActReserveCommitVO); /** * 我的预约/登记 * @param pageUserReserveDTO @@ -5951,6 +5965,14 @@ @PostMapping("/neighbor/serviceStatic") R serviceStatic(@RequestBody ServiceStaticDTO serviceStaticDTO); + /** + * 求助我的问题数量统计 + * @param type + * @param phone + * @return + */ + @GetMapping("/neighbor/selectCount") + R selectCount(@RequestParam("type")Integer type,@RequestParam(value = "phone",required = false)String phone,@RequestParam("communityId")Long communityId); /** * 获取系统配置value @@ -10255,4 +10277,44 @@ */ @GetMapping("/comActEasyPhotoHandler/detail") R detailEasyPhotoHandler(@RequestParam("id") Long id); + + /** + * 活动邀请列表 + * @param pageActivityInviteDTO + * @return + */ + @PostMapping("/activity/invite/list") + R pageActivityInviteList(@RequestBody PageActivityInviteDTO pageActivityInviteDTO); + + /** + * 添加邀请人员 + * @param list + * @return + */ + @PostMapping("/activity/invite/add") + R activityInviteAdd(@RequestBody List<ActivityInviteDTO> list); + + /** + * 删除邀请人员 + * @param id + * @return + */ + @DeleteMapping("/activity/invite/delete") + R activityInviteDelete(@RequestParam("id") Long id); + + /** + * 获取积分详情 + * @param id + * @return + */ + @GetMapping("/integral/user/detail") + R getUserIntegralDetail(@RequestParam("id") Long id); + + /** + * 分页查询可关联清单列表 + * @param neighborCircleAppDTO + * @return + */ + @PostMapping("/neighbor/pageRelationList") + R pageRelationList(@RequestBody ComActNeighborCircleAppDTO neighborCircleAppDTO); } -- Gitblit v1.7.1