|
@@ -11,6 +11,6 @@ import java.util.List;
|
|
|
*/
|
|
|
@Transactional
|
|
|
public interface CompetitionDao extends CrudRepository<Competition, Long> {
|
|
|
- List<Competition> findByIsActiveOrderByRankWeightAtDesc(boolean isActive);
|
|
|
+ List<Competition> findByIsActiveOrderByRankWeightDesc(boolean isActive);
|
|
|
Competition findById(Long id);
|
|
|
}
|