forked from Cookies_Github_mirror/AquaDX
[O] Refactor maimai2 repositories
This commit is contained in:
@@ -40,11 +40,6 @@ fun findTrend(log: List<TrendLog>): List<TrendOut> {
|
||||
return trend
|
||||
}
|
||||
|
||||
interface GenericPlaylogRepo {
|
||||
fun findByUserCardExtId(extId: Long): List<IGenericGamePlaylog>
|
||||
fun findById(id: Long): Optional<IGenericGamePlaylog>
|
||||
}
|
||||
|
||||
fun List<IGenericGamePlaylog>.acc() = if (isEmpty()) 0.0 else sumOf { it.achievement }.toDouble() / size / 10000.0
|
||||
|
||||
fun GameApiController.genericUserSummary(
|
||||
|
||||
Reference in New Issue
Block a user