diff --git a/src/main/java/com/moing/backend/domain/boardComment/domain/repository/BoardCommentCustomRepositoryImpl.java b/src/main/java/com/moing/backend/domain/boardComment/domain/repository/BoardCommentCustomRepositoryImpl.java index 5bcbb722..048fa21f 100644 --- a/src/main/java/com/moing/backend/domain/boardComment/domain/repository/BoardCommentCustomRepositoryImpl.java +++ b/src/main/java/com/moing/backend/domain/boardComment/domain/repository/BoardCommentCustomRepositoryImpl.java @@ -72,8 +72,8 @@ public Optional> findNewUploadInfo(Long memberId, Long board boardComment.teamMember.member.isNewUploadPush, boardComment.teamMember.member.isSignOut)) .distinct() - .from(teamMember) - .leftJoin(boardComment.teamMember, QTeamMember.teamMember) + .from(boardComment) + .leftJoin(boardComment.teamMember, teamMember) .leftJoin(boardComment.teamMember.member, member) .where(boardComment.board.boardId.eq(boardId) //게시글의 댓글인데 .and(boardComment.teamMember.member.memberId.ne(memberId)) //나는 포함 안하고