|
|
@@ -60,6 +60,6 @@ public interface TokenHistoryRepo extends JpaRepository<TokenHistory, Long>, Jpa
|
|
|
List<TokenHistory> findByOperationAndCreatedAtBefore(String operation, LocalDateTime time);
|
|
|
|
|
|
@Query(nativeQuery = true, value = "select to_user nickname, to_avatar avatar, to_user_id id from token_history " +
|
|
|
- "where created_at > ?1 group by to_user_id order by sum(price) desc limit 20")
|
|
|
+ "where created_at > ?1 group by to_user_id order by sum(price) desc limit 30")
|
|
|
List<Map<String, String>> top(LocalDateTime time);
|
|
|
}
|