generated from pricelees/issue-pr-template
feat: LoginHistoryRepository에 회원 ID(PK)로 조회하는 메서드 추가
This commit is contained in:
parent
e4f6ffe53d
commit
77de425fc1
@ -2,4 +2,7 @@ package roomescape.auth.infrastructure.persistence
|
|||||||
|
|
||||||
import org.springframework.data.jpa.repository.JpaRepository
|
import org.springframework.data.jpa.repository.JpaRepository
|
||||||
|
|
||||||
interface LoginHistoryRepository : JpaRepository<LoginHistoryEntity, Long>
|
interface LoginHistoryRepository : JpaRepository<LoginHistoryEntity, Long> {
|
||||||
|
|
||||||
|
fun findByPrincipalId(principalId: Long): List<LoginHistoryEntity>
|
||||||
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user