mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-08 22:17:26 +08:00
[chusan] Fix rating drop under some circumstances
This commit is contained in:
@@ -38,7 +38,7 @@ public class UserPlaylogService {
|
|||||||
|
|
||||||
public List<UserPlaylog> getRecent30Plays(String userId) {
|
public List<UserPlaylog> getRecent30Plays(String userId) {
|
||||||
Pageable page = PageRequest.of(0, 30, Sort.by(Sort.Direction.DESC, "userPlayDate"));
|
Pageable page = PageRequest.of(0, 30, Sort.by(Sort.Direction.DESC, "userPlayDate"));
|
||||||
return userPlaylogRepository.findByUser_Card_ExtIdAndLevelNot(Long.parseLong(userId), 4, page);
|
return userPlaylogRepository.findByUser_Card_ExtIdAndLevelNot(Long.parseLong(userId), 5, page);
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<UserPlaylog> getByUserId(String userId) {
|
public List<UserPlaylog> getByUserId(String userId) {
|
||||||
|
|||||||
Reference in New Issue
Block a user