From c02e4e8ebd88f2d277935111ca16f2119adbac23 Mon Sep 17 00:00:00 2001 From: 101captain <237651143@qq.com> Date: 星期日, 24 七月 2022 10:20:57 +0800 Subject: [PATCH] bug修改 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/CommunityApi.java | 36 +++++++++++++++++++++++++++++++++--- 1 files changed, 33 insertions(+), 3 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/CommunityApi.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/CommunityApi.java index afd04a4..4d99130 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/CommunityApi.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/CommunityApi.java @@ -1194,8 +1194,8 @@ * @return 类型列表 */ @PostMapping("listbuildtype") - public R listBuildType() { - return comMngStructOtherBuildService.listBuildType(); + public R listBuildType(@RequestParam("communityId")Long communityId) { + return comMngStructOtherBuildService.listBuildType(communityId); } /** @@ -2244,7 +2244,7 @@ try { WxXCXTempSend util = new WxXCXTempSend(); R<SysTemplateConfigVO> sysTemplateConfigVO=userService.selectTemplate(eldersAuthFeedbackAddDTO.getAreaCode(),5); - String accessToken = util.getAppAccessToken(); + String accessToken = util.getAccessToken(); WxUtil.sendSubscribeRZSH(openid, accessToken, "高龄认证", DateUtils.format(eldersAuthDO.getCreateAt(), DateUtils.ymdhms_format), eldersAuthFeedbackAddDTO.getFeedBack(),sysTemplateConfigVO.getData().getTemplateId()); @@ -2603,4 +2603,34 @@ public R exportPartyMemberDetail(@RequestBody CommonPage commonPage){ return comActActivityService.exportPartyMemberDetail(commonPage); } + + /** + * 批量删除活动 + * @param ids + * @return + */ + @PostMapping("batchDel") + public R deleteActivities(@RequestBody List<Long> ids) { + return R.ok(comActActivityService.removeByIds(ids)); + } + + /** + * 获取人大代表反馈记录 + * @param id + * @return + */ + @GetMapping("dpc/feedback") + public R getFeedbackList(@RequestParam("id") Long id) { + return comActEasyPhotoService.getFeedbackList(id); + } + + /** + * 人大代表反馈随手拍 + * @param comActEasyPhotoVO + * @return + */ + @PostMapping("dpc/feedback") + public R addEasyPhotoFeedbackForDpc(@RequestBody ComActEasyPhotoVO comActEasyPhotoVO) { + return comActEasyPhotoService.addEasyPhotoFeedbackForDpc(comActEasyPhotoVO); + } } -- Gitblit v1.7.1