springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/DiscussApi.java
@@ -217,6 +217,21 @@ return communityService.pageDiscussCommentApplets(pageComActDiscussCommentDTO); } /** * 议事投票-评论-删除 小程序 * * 分页参数 * @return ComActDiscussCommentVO */ @ApiOperation(value = "一起议-评论-删除接口") @DeleteMapping("deleteCommentApplets") public R deleteCommentApplets(@RequestParam("id") String id) { return communityService.deleteCommentApplets(id); } @ApiOperation(value = "一起议-评论-分页查询-脱敏", response = ComActDiscussCommentVO.class) @PostMapping("pageDiscussCommentDesensitize") public R pageDiscussCommentDesensitize(@RequestBody PageComActDiscussCommentDTO pageComActDiscussCommentDTO) { springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java
@@ -1523,6 +1523,16 @@ @PostMapping("pagediscusscommentapplets") R pageDiscussCommentApplets(@RequestBody PageComActDiscussCommentDTO pageComActDiscussCommentDTO); /** * 议事投票-评论-删除 小程序 * * 分页参数 * @return ComActDiscussCommentVO */ @GetMapping("deleteCommentApplets") R deleteCommentApplets(@RequestParam("id") String id); /** * 议事投票-评论-分页查询 小程序 脱敏 * springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/DiscussApi.java
@@ -266,6 +266,20 @@ public R pageDiscussCommentApplets(@RequestBody PageComActDiscussCommentDTO pageComActDiscussCommentDTO) { return comActDiscussService.pageDiscussCommentApplets(pageComActDiscussCommentDTO); } /** * 议事投票-评论-删除 小程序 * * @param pageComActDiscussCommentDTO * 分页参数 * @return ComActDiscussCommentVO */ @GetMapping("deleteCommentApplets") public R deleteCommentApplets(@RequestParam("id") String id) { return comActDiscussService.deleteId(id); } /** * 议事投票-评论-分页查询 小程序 * springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActDiscussDAO.java
@@ -213,6 +213,8 @@ */ int batchUpdateViewNum(@Param("needDealMap") HashMap<Long, Integer> needDealMap); int deleteId(@Param("id") String id); /** * 居民自治-议事投票类型占比统计 * @param communityId springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActDiscussService.java
@@ -132,6 +132,15 @@ */ R pageDiscussCommentAdmin(PageComActDiscussCommentDTO pageComActDiscussCommentDTO); /** * 议事投票-评论-删除 * @param id * @return */ R deleteId(String id); /** * 议事投票-分页查询 小程序 * springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActDiscussServiceImpl.java
@@ -653,6 +653,11 @@ return R.ok(iPage); } @Override public R deleteId(String id) { return R.ok(comActDiscussDAO.deleteId(id)); } /** * 议事投票-分页查询 小程序 * springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComActDiscussDOMapper.xml
@@ -352,4 +352,10 @@ (SELECT COUNT(id) FROM com_act_discuss WHERE community_id = #{communityId} AND content_type = 2 AND is_del = 2 AND `type` = 2) AS tpTotal </select> <delete id="deleteId"> delete from com_act_discuss where id=#{id} </delete> </mapper>