Changeset 723994f for src/main/java/it/finki/tinki/repository
- Timestamp:
- 01/07/21 16:13:55 (4 years ago)
- Branches:
- master
- Children:
- 509cb95
- Parents:
- 1397178
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/it/finki/tinki/repository/MatchRepository.java
r1397178 r723994f 2 2 3 3 import it.finki.tinki.model.Match; 4 import it.finki.tinki.model.Users.User; 5 import it.finki.tinki.model.enumerator.WorkType; 4 6 import org.springframework.data.jpa.repository.JpaRepository; 5 7 import org.springframework.stereotype.Repository; 6 8 9 import java.util.List; 10 7 11 @Repository 8 12 public interface MatchRepository extends JpaRepository<Match, Long> { 13 List<Match> getAllByCombinedId_UserAndTypeOrderByCoefficientDesc(User user, WorkType type); 9 14 }
Note:
See TracChangeset
for help on using the changeset viewer.