| | |
| | | comActNeighborCircleDO.setLastCommentNum(0); |
| | | comActNeighborCircleDO.setLastFabulousNum(0); |
| | | comActNeighborCircleDO.setLastViewsNum(0); |
| | | comActNeighborCircleDO.setBelongType(addVO.getBelongType()); |
| | | this.baseMapper.insert(comActNeighborCircleDO); |
| | | return R.ok(); |
| | | } |
| | |
| | | public R neighborExamineByApp(ComActNeighborCircleAppDTO neighborCircleAppDTO) { |
| | | IPage<ComActNeighborCircleAppVO> neighborCircleIPage = this.baseMapper.neighborExamineByApp( |
| | | new Page<>(neighborCircleAppDTO.getPageNum(), neighborCircleAppDTO.getPageSize()), |
| | | neighborCircleAppDTO.getUserId()); |
| | | neighborCircleAppDTO.getUserId(),neighborCircleAppDTO.getBelongType()); |
| | | if (!neighborCircleIPage.getRecords().isEmpty()) { |
| | | for (ComActNeighborCircleAppVO circleAppVO : neighborCircleIPage.getRecords()) { |
| | | // 查询点赞信息 |