Changeset 43a1688 for src/main/java/com/example/moviezone/repository
- Timestamp:
- 02/06/23 15:13:02 (22 months ago)
- Branches:
- master
- Children:
- f9cc555
- Parents:
- f8ef9bd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/moviezone/repository/CustomerRatesFilmRepository.java
rf8ef9bd r43a1688 4 4 import com.example.moviezone.model.manytomany.CustomerRatesFilmId; 5 5 import org.springframework.data.jpa.repository.JpaRepository; 6 import org.springframework.data.jpa.repository.query.Procedure; 7 import org.springframework.data.repository.query.Param; 6 8 import org.springframework.stereotype.Repository; 7 9 8 10 @Repository 9 11 public interface CustomerRatesFilmRepository extends JpaRepository<CustomerRatesFilm, CustomerRatesFilmId> { 12 @Procedure("project.avg_rating1") 13 double avg_rating(int id); 14 10 15 }
Note:
See TracChangeset
for help on using the changeset viewer.