wangqifan 3 years ago
parent
commit
90c6a06025
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/izouma/nineth/repo/TokenHistoryRepo.java

+ 1 - 1
src/main/java/com/izouma/nineth/repo/TokenHistoryRepo.java

@@ -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);
 }