Skip to content

Commit

Permalink
Merge pull request #272 from swm-standard/develop
Browse files Browse the repository at this point in the history
CD: release 배포
  • Loading branch information
RinRinPARK authored Nov 20, 2024
2 parents c24a2dd + 4c418b1 commit 3035f84
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/main/kotlin/com/swm_standard/phote/dto/ExamDtos.kt
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ data class CreateSharedExamResponse(

data class ReadAllSharedExamsResponse(
val examId: UUID,
val workbookId: UUID,
val creator: String,
val title: String,
val startTime: LocalDateTime,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ class QuestionCustomRepositoryImpl(
.where(question.member.id.eq(memberId))
.leftJoin(question.tags, tag)
.fetchJoin()
.distinct()

// 태그 조건: tags로 들어온 태그들을 모두 포함하는 문제 검색
if (!tags.isNullOrEmpty()) {
Expand Down
2 changes: 2 additions & 0 deletions src/main/kotlin/com/swm_standard/phote/service/ExamService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ class ExamService(
).map { exam ->
ReadAllSharedExamsResponse(
examId = exam.id!!,
workbookId = exam.workbook.id,
creator = exam.member.name,
title = exam.title,
startTime = exam.startTime,
Expand All @@ -361,6 +362,7 @@ class ExamService(
val sharedExam = examResult.exam as SharedExam
ReadAllSharedExamsResponse(
examId = examResult.exam.id!!,
workbookId = sharedExam.workbook.id,
creator = sharedExam.member.name,
title = sharedExam.title,
startTime = sharedExam.startTime,
Expand Down

0 comments on commit 3035f84

Please sign in to comment.