Changeset e272096 for src/main/java/mk/ukim/finki/busngo/repository
- Timestamp:
- 02/18/24 22:01:54 (9 months ago)
- Branches:
- master
- Children:
- 4251327
- Parents:
- bde8b13
- Location:
- src/main/java/mk/ukim/finki/busngo/repository
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/mk/ukim/finki/busngo/repository/BiletRepository.java
rbde8b13 re272096 15 15 // List<Bilet> findAllByKorisnikByPatnikKId(Korisnik korisnik); 16 16 Optional<Bilet> findByBIdAndAndKorisnikByPatnikKId(Long bid, Patnik patnik); 17 // List<Bilet> findAllByKorisnikByPatnikKIdAndBStatus(Patnik patnik, BILET_STATUS status); 17 18 } -
src/main/java/mk/ukim/finki/busngo/repository/VozenjeRepository.java
rbde8b13 re272096 3 3 import mk.ukim.finki.busngo.model.entities.Patnik; 4 4 import mk.ukim.finki.busngo.model.entities.Vozenje; 5 import mk.ukim.finki.busngo.model.enums.VOZENJE_STATUS; 5 6 import org.springframework.data.jpa.repository.JpaRepository; 6 7 … … 9 10 public interface VozenjeRepository extends JpaRepository<Vozenje, Long> { 10 11 List<Vozenje> findAllByKorisnikByPatnikKId(Patnik patnik); 12 List<Vozenje> findAllByKorisnikByPatnikKIdAndAndVozenjeStatus(Patnik patnik, VOZENJE_STATUS vozenjeStatus); 11 13 }
Note:
See TracChangeset
for help on using the changeset viewer.