Ignore:
Timestamp:
01/08/21 00:35:56 (4 years ago)
Author:
Vzdra <vladko.zdravkovski@…>
Branches:
master
Children:
4cec0a3
Parents:
509cb95
Message:

added dummy data for user skills and fixed bugs

File:
1 edited

Legend:

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

    r509cb95 ra8e8545  
    11package it.finki.tinki.repository;
    22
     3import it.finki.tinki.model.EmbeddedMatchId;
    34import it.finki.tinki.model.Match;
    45import it.finki.tinki.model.Users.User;
     
    1011
    1112@Repository
    12 public interface MatchRepository extends JpaRepository<Match, Long> {
    13     List<Match> getAllByCombinedId_User_IdAndTypeOrderByCoefficientDesc(Long uId, WorkType type);
     13public interface MatchRepository extends JpaRepository<Match, EmbeddedMatchId> {
     14    List<Match> getAllByEmbeddedMatchIdUserAndTypeOrderByCoefficientDesc(Long uId, WorkType type);
     15//    List<Match> getAllByUserIdAndTypeOrderByCoefficientDesc(Long uId, WorkType type);
    1416}
Note: See TracChangeset for help on using the changeset viewer.