From 4bfc10e52b8518b6f3f3c38670f5d5551a8ce076 Mon Sep 17 00:00:00 2001 From: jinsu4755 Date: Wed, 13 Dec 2023 19:28:55 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=82=AC=EC=9A=A9=ED=95=98=EC=A7=80=20?= =?UTF-8?q?=EC=95=8A=EB=8A=94=20Dsl=20=EC=BD=94=EB=93=9C=20=EC=82=AD?= =?UTF-8?q?=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../repository/UserDslRepository.kt | 3 --- .../persistence/repository/UserRepository.kt | 2 +- .../repository/UserSupportRepository.kt | 18 ------------------ 3 files changed, 1 insertion(+), 22 deletions(-) delete mode 100644 module-infrastructure/src/main/kotlin/universe/sparkle/infrastructure/persistence/repository/UserDslRepository.kt delete mode 100644 module-infrastructure/src/main/kotlin/universe/sparkle/infrastructure/persistence/repository/UserSupportRepository.kt diff --git a/module-infrastructure/src/main/kotlin/universe/sparkle/infrastructure/persistence/repository/UserDslRepository.kt b/module-infrastructure/src/main/kotlin/universe/sparkle/infrastructure/persistence/repository/UserDslRepository.kt deleted file mode 100644 index 053ffe5..0000000 --- a/module-infrastructure/src/main/kotlin/universe/sparkle/infrastructure/persistence/repository/UserDslRepository.kt +++ /dev/null @@ -1,3 +0,0 @@ -package universe.sparkle.infrastructure.persistence.repository - -interface UserDslRepository diff --git a/module-infrastructure/src/main/kotlin/universe/sparkle/infrastructure/persistence/repository/UserRepository.kt b/module-infrastructure/src/main/kotlin/universe/sparkle/infrastructure/persistence/repository/UserRepository.kt index a0a6d91..eaf96fd 100644 --- a/module-infrastructure/src/main/kotlin/universe/sparkle/infrastructure/persistence/repository/UserRepository.kt +++ b/module-infrastructure/src/main/kotlin/universe/sparkle/infrastructure/persistence/repository/UserRepository.kt @@ -3,7 +3,7 @@ package universe.sparkle.infrastructure.persistence.repository import org.springframework.data.jpa.repository.JpaRepository import universe.sparkle.infrastructure.persistence.entity.UserEntity -interface UserRepository : JpaRepository, UserDslRepository { +interface UserRepository : JpaRepository { fun findBySnsAuthCode(snsAuthCode: String): UserEntity? } diff --git a/module-infrastructure/src/main/kotlin/universe/sparkle/infrastructure/persistence/repository/UserSupportRepository.kt b/module-infrastructure/src/main/kotlin/universe/sparkle/infrastructure/persistence/repository/UserSupportRepository.kt deleted file mode 100644 index 9eb3ab9..0000000 --- a/module-infrastructure/src/main/kotlin/universe/sparkle/infrastructure/persistence/repository/UserSupportRepository.kt +++ /dev/null @@ -1,18 +0,0 @@ -//package universe.sparkle.infrastructure.persistence.repository -// -//import com.querydsl.jpa.impl.JPAQueryFactory -//import org.springframework.beans.factory.annotation.Autowired -//import org.springframework.stereotype.Repository -//import universe.sparkle.infrastructure.persistence.entity.QUserEntity -//import universe.sparkle.infrastructure.persistence.entity.UserEntity -// -//@Repository -//class UserSupportRepository @Autowired constructor( -// private val queryFactory: JPAQueryFactory, -//) : UserDslRepository { -// fun findUserByIdJoinCouple(userId: Long): UserEntity? { -// return queryFactory.selectFrom(QUserEntity.userEntity) -// .where(QUserEntity.userEntity.id.eq(userId)) -// .fetchOne() -// } -//}