- Timestamp:
- 01/08/21 00:35:56 (4 years ago)
- Branches:
- master
- Children:
- 4cec0a3
- Parents:
- 509cb95
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/it/finki/tinki/repository/MatchRepository.java
r509cb95 ra8e8545 1 1 package it.finki.tinki.repository; 2 2 3 import it.finki.tinki.model.EmbeddedMatchId; 3 4 import it.finki.tinki.model.Match; 4 5 import it.finki.tinki.model.Users.User; … … 10 11 11 12 @Repository 12 public interface MatchRepository extends JpaRepository<Match, Long> { 13 List<Match> getAllByCombinedId_User_IdAndTypeOrderByCoefficientDesc(Long uId, WorkType type); 13 public interface MatchRepository extends JpaRepository<Match, EmbeddedMatchId> { 14 List<Match> getAllByEmbeddedMatchIdUserAndTypeOrderByCoefficientDesc(Long uId, WorkType type); 15 // List<Match> getAllByUserIdAndTypeOrderByCoefficientDesc(Long uId, WorkType type); 14 16 }
Note:
See TracChangeset
for help on using the changeset viewer.