|
|
@ -26,7 +26,7 @@ public interface KillfeedRepository extends PagingAndSortingRepository<KillsInFe |
|
|
|
"(:server_id is null or k.server_id like :server_id) and" + |
|
|
|
"(:account_id is null or (k.attacker_id in :accounts_id and k.attacker_id != k.victim_id)) order by k.id desc") |
|
|
|
Page<KillsInFeed> getKills(Pageable pageable, |
|
|
|
@Param("accounts_id") List<Long> accounts_id, |
|
|
|
@Param("accounts_id") Iterable<Long> accounts_id, |
|
|
|
@Param("server_id") String server_id, |
|
|
|
@Param("utime") Long utime); |
|
|
|
|
|
|
@ -45,7 +45,7 @@ public interface KillfeedRepository extends PagingAndSortingRepository<KillsInFe |
|
|
|
"(:server_id is null or k.server_id like :server_id) and" + |
|
|
|
"(:account_id is null or (k.victim_id in :accounts_id and k.attacker_id != k.victim_id)) order by k.id desc") |
|
|
|
Page<KillsInFeed> getDeads(Pageable pageable, |
|
|
|
@Param("accounts_id") List<Long> accounts_id, |
|
|
|
@Param("accounts_id") Iterable<Long> accounts_id, |
|
|
|
@Param("server_id") String server_id, |
|
|
|
@Param("utime") Long utime); |
|
|
|
|
|
|
@ -75,7 +75,7 @@ public interface KillfeedRepository extends PagingAndSortingRepository<KillsInFe |
|
|
|
"(:server_id is null or k.server_id like :server_id) and" + |
|
|
|
"(:account_id is null or k.assister_id in :accounts_id) order by k.id desc") |
|
|
|
Page<KillsInFeed> getAssists(Pageable pageable, |
|
|
|
@Param("accounts_id") List<Long> accounts_id, |
|
|
|
@Param("accounts_id") Iterable<Long> accounts_id, |
|
|
|
@Param("server_id") String server_id, |
|
|
|
@Param("utime") Long utime); |
|
|
|
} |
|
|
|