-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SAMBAD-267] �릴레이 질문 hidden 저장 및 조회 필터링 기능 추가 (#117)
* feat: 모임 질문 숨김 요청 기능 추가 * feat: 작성한 모임 질문 답변 히스토리 조회 시 hidden 처리 추가
- Loading branch information
Showing
17 changed files
with
1,320 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
...epromeet/sambad/moring/meeting/answer/infrastructure/dto/MeetingAnswerResponseCustom.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package org.depromeet.sambad.moring.meeting.answer.infrastructure.dto; | ||
|
||
import java.util.List; | ||
|
||
import org.depromeet.sambad.moring.answer.domain.Answer; | ||
|
||
import com.querydsl.core.annotations.QueryProjection; | ||
|
||
public record MeetingAnswerResponseCustom( | ||
Long meetingQuestionId, | ||
String meetingQuestionTitle, | ||
List<Answer> meetingAnswers, | ||
String comment | ||
) { | ||
|
||
@QueryProjection | ||
public MeetingAnswerResponseCustom { | ||
} | ||
|
||
public List<String> getMeetingAnswers() { | ||
return meetingAnswers.stream() | ||
.map(Answer::getContent) | ||
.toList(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...romeet/sambad/moring/meeting/answer/presentation/exception/CannotUpdateMeetingAnswer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package org.depromeet.sambad.moring.meeting.answer.presentation.exception; | ||
|
||
import static org.depromeet.sambad.moring.meeting.answer.presentation.exception.MeetingAnswerExceptionCode.*; | ||
|
||
import org.depromeet.sambad.moring.common.exception.BusinessException; | ||
|
||
public class CannotUpdateMeetingAnswer extends BusinessException { | ||
public CannotUpdateMeetingAnswer() { | ||
super(CANNOT_UPDATE_MEETING_ANSWER); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.