|
@@ -71,11 +71,11 @@ public class DynamicCommentServiceImpl implements DynamicCommentService {
|
|
|
lqw.eq(DynamicComment::getParentId, param.getParentId());
|
|
|
lqw.eq(DynamicComment::getPlatformStatus, 0);
|
|
|
Long userId = param.getUserId();
|
|
|
- lqw.and(wq -> wq
|
|
|
+ /*lqw.and(wq -> wq
|
|
|
.eq(DynamicComment::getExamineStatus, 1)
|
|
|
.or(wq1 -> wq1
|
|
|
.eq(DynamicComment::getExamineStatus, 0)
|
|
|
- .eq(DynamicComment::getUserId, userId)));
|
|
|
+ .eq(DynamicComment::getUserId, userId)));*/
|
|
|
lqw.orderByDesc(DynamicComment::getCreateTime);
|
|
|
Page<DynamicComment> page = baseMapper.selectPage(
|
|
|
new Page<>(pageNum, pageSize), lqw);
|