mirror of
https://github.com/hykilpikonna/AquaDX.git
synced 2026-08-07 03:29:02 -05:00
[+] SDGA 1.65 / SDGB 1.53 playlog fix
This commit is contained in:
parent
3be81520ce
commit
85544d3cee
|
|
@ -75,7 +75,7 @@ class UpsertUserAllHandler(
|
|||
listOfNotNull(
|
||||
userExtend, userOption, userCharacterList, userMapList, userLoginBonusList, userItemList,
|
||||
userMusicDetailList, userCourseList, userFriendSeasonRankingList, userFavoriteList,
|
||||
userKaleidxScopeList, userIntimateList
|
||||
userKaleidxScopeList, userIntimateList, upsertUserAll.userPlaylogList
|
||||
)
|
||||
}.flatten().forEach { it.user = u }
|
||||
|
||||
|
|
@ -142,6 +142,9 @@ class UpsertUserAllHandler(
|
|||
repos.userIntimate.saveAll(lst.mapApply {
|
||||
id = repos.userIntimate.findByUserAndPartnerId(u, partnerId)?.id ?: 0 }) }
|
||||
|
||||
// Added on SDGA 1.65 / SDGB 1.53
|
||||
upsertUserAll.userPlaylogList?.let(repos.userPlaylog::saveAll)
|
||||
|
||||
// 2024/10/31 Found some user data findByUserAndKindAndActivityId is not unique
|
||||
// I think userActivityList is not important, so I will ignore it
|
||||
try {
|
||||
|
|
|
|||
|
|
@ -5,7 +5,9 @@ import icu.samnyan.aqua.sega.maimai2.model.userdata.*
|
|||
|
||||
class Mai2UpsertUserAll(
|
||||
var userId: Long,
|
||||
var upsertUserAll: Mai2UserAll
|
||||
var upsertUserAll: Mai2UserAll,
|
||||
|
||||
var userPlaylogList: List<Mai2UserPlaylog>? = null, // SDGA 1.65 / SDGB 1.53
|
||||
)
|
||||
|
||||
class Mai2UserAll {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user