| | |
| | | import com.panzhihua.common.model.vos.community.ComActEasyPhotoVO; |
| | | import com.panzhihua.common.model.vos.community.TodoEventsVO; |
| | | import com.panzhihua.common.utlis.SensitiveUtil; |
| | | import com.panzhihua.common.utlis.StringUtils; |
| | | import com.panzhihua.service_community.dao.ComActEasyPhotoCommentDAO; |
| | | import com.panzhihua.service_community.dao.ComActEasyPhotoCommentUserDAO; |
| | | import com.panzhihua.service_community.dao.ComActEasyPhotoDAO; |
| | |
| | | page.setSize(pageSize); |
| | | page.setCurrent(pageNum); |
| | | IPage<ComActEasyPhotoCommentVO> iPage = comActEasyPhotoCommentDAO.pageComActEasyPhotoComment(page, pageComActEasyPhotoCommentDTO); |
| | | if(!iPage.getRecords().isEmpty()){ |
| | | for (ComActEasyPhotoCommentVO commentVO:iPage.getRecords()) { |
| | | if(StringUtils.isNotEmpty(commentVO.getName())){ |
| | | commentVO.setName(commentVO.getNickName()); |
| | | } |
| | | } |
| | | } |
| | | return R.ok(iPage); |
| | | } |
| | | |