|
@@ -172,7 +172,7 @@ public class CommentServiceImpl extends ServiceImpl<CommentMapper, Comment> impl
|
172
|
172
|
comments.forEach(x -> {
|
173
|
173
|
// 查询图片
|
174
|
174
|
QueryWrapper<CommentImg> queryPImgWrapper = new QueryWrapper<>();
|
175
|
|
- queryPImgWrapper.eq("comment_id", e.getCommentId());
|
|
175
|
+ queryPImgWrapper.eq("comment_id", x.getCommentId());
|
176
|
176
|
queryPImgWrapper.eq("status", 1);
|
177
|
177
|
queryPImgWrapper.orderByAsc("order_no");
|
178
|
178
|
List<CommentImg> commentFImgs = commentImgMapper.selectList(queryPImgWrapper);
|