[F] Fix wrong implementation in GetUserMapAreaApi

Thanks rinsama for the patch
This commit is contained in:
Azalea
2024-08-08 00:31:18 -04:00
parent c11bb3be59
commit 3b80b8d7f1
5 changed files with 97 additions and 87 deletions

View File

@@ -92,6 +92,9 @@ interface Chu3UserItemRepo : Chu3UserLinked<UserItem> {
interface Chu3UserMapRepo : Chu3UserLinked<UserMap> {
fun findTopByUserAndMapAreaIdOrderByIdDesc(user: Chu3UserData, mapAreaId: Int): Optional<UserMap>
@Query("SELECT uma FROM ChusanUserMapArea uma WHERE uma.user.card.extId = :extId AND uma.mapAreaId IN :mapAreaIds")
fun findAllUserMaps(extId: Long, mapAreaIds: List<Int>): List<UserMap>
}
interface Chu3UserMusicDetailRepo : Chu3UserLinked<UserMusicDetail> {