From 86df207c37502cce1b2043e1c7c0486459eef1d6 Mon Sep 17 00:00:00 2001 From: mitao <2763622819@qq.com> Date: 星期四, 13 三月 2025 19:58:45 +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 67a4801..60a2e85 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 @@ -12,10 +12,13 @@ import com.panzhihua.common.model.dtos.community.dpc.EditDpcDTO; import com.panzhihua.common.model.dtos.community.dpc.PageDpcDTO; import com.panzhihua.common.model.dtos.community.enterprise.*; +import com.panzhihua.common.model.dtos.community.large.AreaStreetDetail; +import com.panzhihua.common.model.dtos.community.large.SumAreaStreetResp; import com.panzhihua.common.model.dtos.community.reserve.*; import com.panzhihua.common.model.dtos.community.sanshuo.*; import com.panzhihua.common.model.dtos.community.warehouse.ComActWarehouseApplyDTO; import com.panzhihua.common.model.dtos.community.cluster.PageClusterMemberDto; +import com.panzhihua.common.model.dtos.partybuilding.QryReportResp; import com.panzhihua.common.model.dtos.property.CommonPage; import com.panzhihua.common.model.dtos.community.discuss.ComActDiscussDetailDTO; import com.panzhihua.common.model.dtos.community.discuss.ComActDiscussPublishResultDTO; @@ -1520,6 +1523,16 @@ @PostMapping("pagediscusscommentapplets") R pageDiscussCommentApplets(@RequestBody PageComActDiscussCommentDTO pageComActDiscussCommentDTO); + + /** + * 议事投票-评论-删除 小程序 + * + * 分页参数 + * @return ComActDiscussCommentVO + */ + @GetMapping("deleteCommentApplets") + R deleteCommentApplets(@RequestParam("id") String id); + /** * 议事投票-评论-分页查询 小程序 脱敏 * @@ -2707,7 +2720,7 @@ * @return 问卷调查详情 */ @GetMapping("/questnaire/view/detail") - R viewDetail(@RequestParam("userId") Long userId, @RequestParam("questId") Long questId); + R viewDetail( @RequestParam("questId") Long questId,@RequestParam("userId") Long userId); /** * 小程序-新增问卷调查浏览数量 @@ -9952,12 +9965,16 @@ * 单位活动统计 */ @GetMapping("/neighbor/activityAnalysis") - R institutionalUnitServiceAnalysis(@RequestParam(value = "year",required = false) Integer year,@RequestParam(value = "type",required = false) Integer type, - @RequestParam(value = "range",required = false)Integer range,@RequestParam(value = "communityId",required = false) Long communityId, + R institutionalUnitServiceAnalysis(@RequestParam(value = "year",required = false) Integer year, + @RequestParam(value = "type",required = false) Integer type, + @RequestParam(value = "range",required = false)Integer range, + @RequestParam(value = "communityId",required = false) Long communityId, @RequestParam(value = "page",required = false) Integer page, @RequestParam(value = "size",required = false) Integer size, @RequestParam(value = "belongTo",required = false) String belongTo, - @RequestParam(value = "unitId",required = false) Long unitId,@RequestParam(value = "loginAccount",required = false) String loginAccount); + @RequestParam(value = "unitId",required = false) Long unitId, + @RequestParam(value = "loginAccount",required = false) String loginAccount, + @RequestParam(value = "searchContent",required = false) String searchContent); @GetMapping("/neighbor/export") public List<ExcelDO> export(@RequestParam(value = "year",required = false) Integer year, @@ -11885,5 +11902,50 @@ @GetMapping("/largeScreen/probably") public R probably(@RequestParam("year") Integer year,@RequestParam("belongTo") String belongTo); + /** + * 查询 一标三实 数据 + */ + @GetMapping("/largeScreen/sumAreaStreet") + R<SumAreaStreetResp> sumAreaStreet(); + + + /** + * 下拉 明细 + */ + @GetMapping(("/largeScreen/areaStreetDetail")) + R<AreaStreetDetail> areaStreetDetail(@RequestParam("code") String code, + @RequestParam("type") String type); + + @GetMapping("/largeScreen/qryReport") + R<List<QryReportResp>> qryReport(@RequestParam(value = "yearTime",required = false) String yearTime); + + + /***************************************************************************************************************** + * + * 社区宣传 + * + ******************************************************************************************************************/ + @GetMapping("/sys/conf/getCommunityPublicityData") + public R getCommunityPublicityData(@RequestParam("communityId") String communityId); + + @PostMapping("/sys/conf/addCommunityPublicityDate") + public R addCommunityPublicityDate(@RequestBody CommunityPublicityVO item); + + @PostMapping("/sys/conf/editCommunityPublicityDate") + public R editCommunityPublicityDate(@RequestBody CommunityPublicityVO item); + + @DeleteMapping("/sys/conf/deleteCommunityPublicityData") + public R deleteCommunityPublicityData(@RequestParam("communityId") String communityId); + + + + /** + * 社区活动自动定时更新用户未签退时间 + * @return + */ + @GetMapping("/comActAcidRecord/comActActRegistUpdateEndTime") + public R comActActRegistUpdateEndTime(); + + } -- Gitblit v1.7.1