Skip to content

Commit

Permalink
Update AccountRepository.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
endermaru authored Jan 6, 2025
1 parent 6285719 commit 65b574b
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
package com.waffletoy.team1server.account.persistence

import com.waffletoy.team1server.account.controller.Account
import org.springframework.data.jpa.repository.JpaRepository

interface AccountRepository : JpaRepository<Account, Long> {
fun findByLocalId(loginID: String): AdminEntity?
interface AccountRepository : JpaRepository<AccountEntity, Long> {
fun findByLocalId(loginID: String): AccountEntity?

fun existsByLocalId(userId: String): Boolean
}

0 comments on commit 65b574b

Please sign in to comment.