springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActNeighborCircleServiceImpl.java
@@ -553,6 +553,17 @@ } commentDO.setStatus(dto.getStatus()); neighborCircleCommentDAO.updateById(commentDO); //查询邻里圈更新邻里圈评论数量 ComActNeighborCircleDO neighborCircleDO = this.baseMapper.selectById(commentDO.getCircleId()); if(neighborCircleDO != null){ if(dto.getStatus().equals(2)){ neighborCircleDO.setCommentNum(neighborCircleDO.getCommentNum() - 1); }else{ neighborCircleDO.setCommentNum(neighborCircleDO.getCommentNum() + 1); } this.baseMapper.updateById(neighborCircleDO); } return R.ok(); }