- Timestamp:
- 02/10/23 01:18:53 (21 months ago)
- Branches:
- master
- Children:
- 7926d68
- Parents:
- 01a1ca6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/moviezone/service/Impl/CustomerRatesFilmImpl.java
r01a1ca6 r73f0dbc 1 1 package com.example.moviezone.service.Impl; 2 2 3 import com.example.moviezone.model.manytomany.CustomerRatesFilm; 3 4 import com.example.moviezone.repository.CustomerRatesFilmRepository; 4 5 import com.example.moviezone.service.CustomerRatesFilmService; … … 17 18 return customerRatesFilmRepository.avg_rating(id); 18 19 } 20 21 @Override 22 public CustomerRatesFilm addRating(Integer id_customer, Integer id_film, double rating) { 23 CustomerRatesFilm customerRatesFilm=new CustomerRatesFilm(id_customer,id_film,rating); 24 return customerRatesFilmRepository.save(customerRatesFilm); 25 } 19 26 }
Note:
See TracChangeset
for help on using the changeset viewer.