- Timestamp:
- 05/06/25 00:44:02 (2 weeks ago)
- Branches:
- main
- Children:
- e48199a
- Parents:
- 142c0f8
- Location:
- src/main/java/com/example/rezevirajmasa/demo/repository
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/rezevirajmasa/demo/repository/ReservationHistoryRepository.java
r142c0f8 rb67dfd3 1 1 package com.example.rezevirajmasa.demo.repository; 2 2 3 import com.example.rezevirajmasa.demo.model.Customer;4 import com.example.rezevirajmasa.demo.model.Reservation;5 3 import com.example.rezevirajmasa.demo.model.Restaurant; 6 4 import com.example.rezevirajmasa.demo.model.User; 7 import org.springframework.cglib.core.Local;8 5 import org.springframework.data.jpa.repository.JpaRepository; 9 6 … … 13 10 public interface ReservationHistoryRepository extends JpaRepository<Restaurant.ReservationHistory, Long> { 14 11 List<Restaurant.ReservationHistory> findALlByUser(User user); 15 List<Restaurant.ReservationHistory> findByCheckInDateBeforeAndStatus(LocalDateTime currentTime, String scheduled);16 12 List<Restaurant.ReservationHistory> findAllByCheckInDateBefore(LocalDateTime currentTime); 17 13 }
Note:
See TracChangeset
for help on using the changeset viewer.