Skip to content

Commit

Permalink
hotfix: comment, post 미사용 부분 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
letskuku authored Mar 26, 2024
1 parent d36bd7e commit b202e9c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,19 @@ public List<Comment> findAllByCounselorAndIsActivatedIsTrue(Counselor counselor,

private BooleanExpression commentByCounselor(Counselor counselor) {
return comment.isActivated.isTrue()
.and(QComment.comment.counselor.eq(counselor));
.and(comment.counselor.eq(counselor));
}

private BooleanExpression filterCondition(Boolean filter) {
if (Boolean.FALSE.equals(filter)) {
return QPost.post.postStatus.eq(PostStatus.PROCEEDING);
return post.postStatus.eq(PostStatus.PROCEEDING);
}
return null;
}

private BooleanExpression postIdCondition(Long postId) {
if (postId != null && postId != 0) {
return QPost.post.postId.lt(postId);
return post.postId.lt(postId);
}
return null;
}
Expand Down

0 comments on commit b202e9c

Please sign in to comment.