Ignore:
Timestamp:
01/07/21 16:13:55 (4 years ago)
Author:
Vzdra <vladko.zdravkovski@…>
Branches:
master
Children:
509cb95
Parents:
1397178
Message:

refactoring and further login functionality

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/it/finki/tinki/repository/MatchRepository.java

    r1397178 r723994f  
    22
    33import it.finki.tinki.model.Match;
     4import it.finki.tinki.model.Users.User;
     5import it.finki.tinki.model.enumerator.WorkType;
    46import org.springframework.data.jpa.repository.JpaRepository;
    57import org.springframework.stereotype.Repository;
    68
     9import java.util.List;
     10
    711@Repository
    812public interface MatchRepository extends JpaRepository<Match, Long> {
     13    List<Match> getAllByCombinedId_UserAndTypeOrderByCoefficientDesc(User user, WorkType type);
    914}
Note: See TracChangeset for help on using the changeset viewer.