Changeset 64ee7f4 for src/main/java/com/example/moviezone/service
- Timestamp:
- 02/08/23 00:06:18 (23 months ago)
- Branches:
- master
- Children:
- 89438a3
- Parents:
- 8d49568
- Location:
- src/main/java/com/example/moviezone/service
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/moviezone/service/Impl/ProjectionIsPlayedInRoomServiceImpl.java
r8d49568 r64ee7f4 1 1 package com.example.moviezone.service.Impl; 2 2 3 import com.example.moviezone.model.manytomany.ProjectionIsPlayedInRoom; 3 4 import com.example.moviezone.repository.ProjectionIsPlayedInRoomRepository; 4 5 import com.example.moviezone.service.ProjectionIsPlayedInRoomService; 5 6 import org.springframework.stereotype.Service; 7 8 import java.util.List; 9 import java.util.Optional; 6 10 7 11 @Service … … 13 17 } 14 18 19 @Override 20 public List<ProjectionIsPlayedInRoom> getProjectionPlayedInRoom(Integer id) { 21 return projectionIsPlayedInRoomRepository.findAllByProjectionId(id); 22 } 15 23 } -
src/main/java/com/example/moviezone/service/Impl/SeatServiceImpl.java
r8d49568 r64ee7f4 24 24 @Override 25 25 public List<Seat> findAllByProjection_Room(Projection_Room projection_room) { 26 return seatRepository.findAllByProjection _room(projection_room);26 return seatRepository.findAllByProjection(projection_room); 27 27 } 28 28 } -
src/main/java/com/example/moviezone/service/ProjectionIsPlayedInRoomService.java
r8d49568 r64ee7f4 1 1 package com.example.moviezone.service; 2 2 3 import com.example.moviezone.model.Film; 4 import com.example.moviezone.model.manytomany.ProjectionIsPlayedInRoom; 5 6 import java.util.List; 7 import java.util.Optional; 8 3 9 public interface ProjectionIsPlayedInRoomService { 4 10 List<ProjectionIsPlayedInRoom> getProjectionPlayedInRoom(Integer id); 5 11 6 12 }
Note:
See TracChangeset
for help on using the changeset viewer.