mirror of https://github.com/hykilpikonna/AquaDX
[F] Fix interface treated as repository
parent
5166387f34
commit
6dbed875e1
|
@ -7,6 +7,7 @@ import icu.samnyan.aqua.net.games.RankCount
|
|||
import icu.samnyan.aqua.net.games.TrendOut
|
||||
import icu.samnyan.aqua.sega.general.model.Card
|
||||
import org.springframework.data.jpa.repository.JpaRepository
|
||||
import org.springframework.data.repository.NoRepositoryBean
|
||||
|
||||
data class TrendLog(val date: String, val rating: Int)
|
||||
|
||||
|
@ -43,6 +44,7 @@ interface IGenericUserData {
|
|||
var card: Card?
|
||||
}
|
||||
|
||||
@NoRepositoryBean
|
||||
interface GenericUserDataRepo<T : IGenericUserData, ID> : JpaRepository<T, ID> {
|
||||
fun findByCard(card: Card): T?
|
||||
fun getRanking(rating: Int): Long
|
||||
|
|
Loading…
Reference in New Issue