diff --git a/build.gradle.kts b/build.gradle.kts index 7085252a..c6cbca77 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -105,6 +105,7 @@ project(":entity") { apply(plugin = "org.jetbrains.kotlin.plugin.jpa") dependencies { + api(project(":common")) api("org.springframework.boot:spring-boot-starter-data-jpa") api("com.mysql:mysql-connector-j:${properties["mysqlConnectorVersion"]}") runtimeOnly("com.h2database:h2:${properties["h2DatabaseVersion"]}") // todo : fade out diff --git a/service/src/main/kotlin/com/mashup/dojo/service/QuestionService.kt b/service/src/main/kotlin/com/mashup/dojo/service/QuestionService.kt index ba057d72..deeeed6f 100644 --- a/service/src/main/kotlin/com/mashup/dojo/service/QuestionService.kt +++ b/service/src/main/kotlin/com/mashup/dojo/service/QuestionService.kt @@ -249,10 +249,9 @@ class DefaultQuestionService( * ToDo 아래는 추후 캐시에 넣는 작업을 해야합니다. * - cache put -> QuestionSet and return * - Temporarily set to create for all members, discuss details later + * 질문의 타입에 따라 적절한 후보자 리스트를 사용 */ - // 질문의 타입에 따라 적절한 후보자 리스트를 사용 - val candidates = if (questionType == QuestionType.FRIEND) { candidatesOfFriend