| | |
| | | List<ComActNeighborCircleCommentReplyAppVO> newCommentReplyAppVOS = new ArrayList<>(); |
| | | int i = 0; |
| | | for (ComActNeighborCircleCommentReplyAppVO commentReplyVO:commentReplyAppVOS) { |
| | | if(i >= 2){ |
| | | break; |
| | | } |
| | | //查询点赞信息 |
| | | ComActNeighborCircleFabulousDO circleReplyFabulousDO = comActNeighborCircleFabulousDAO.selectOne( |
| | | new QueryWrapper<ComActNeighborCircleFabulousDO>().lambda().eq(ComActNeighborCircleFabulousDO::getParentId,commentReplyVO.getId()) |
| | |
| | | commentReplyVO.setHaveSign(1); |
| | | }else{ |
| | | commentReplyVO.setHaveSign(2); |
| | | } |
| | | if(i >= 2){ |
| | | break; |
| | | } |
| | | newCommentReplyAppVOS.add(commentReplyVO); |
| | | i++; |