Changeset 6f91f99 in Git for src/main/java/com/wediscussmovies/project/service/impl/GenreServiceImpl.java
- Timestamp:
- 02/09/22 15:46:58 (3 years ago)
- Branches:
- main
- Children:
- 8f1b7e9
- Parents:
- 967b414
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/wediscussmovies/project/service/impl/GenreServiceImpl.java
r967b414 r6f91f99 4 4 import com.wediscussmovies.project.model.exception.GenreNotExistException; 5 5 import com.wediscussmovies.project.model.exception.UserNotExistException; 6 import com.wediscussmovies.project.model.primarykeys.GenreLikesPK;7 6 import com.wediscussmovies.project.model.primarykeys.UserGenresPK; 8 import com.wediscussmovies.project.model.relation.MovieLikes;9 7 import com.wediscussmovies.project.model.relation.UserGenres; 10 import com.wediscussmovies.project.querymodels.GenreLikes ;8 import com.wediscussmovies.project.querymodels.GenreLikesQM; 11 9 import com.wediscussmovies.project.repository.GenreLikesRepository; 12 10 import com.wediscussmovies.project.repository.GenreRepository; … … 48 46 49 47 @Override 50 public List<GenreLikes > findAllWithLikes() {51 List<GenreLikes> genreLikesList = this.genreRepository.findAllWithLikes();52 genreLikesList.sort(GenreLikes.sorter);53 return genreLikesList;48 public List<GenreLikesQM> findAllWithLikes() { 49 // List<GenreLikes> genreLikesList = this.genreRepository.findAllWithLikes(); 50 // genreLikesList.sort(GenreLikes.sorter); 51 return this.genreRepository.findAllWithLikes(); 54 52 } 55 53
Note:
See TracChangeset
for help on using the changeset viewer.