Last change
on this file was 62bba0c, checked in by ste08 <sjovanoska@…>, 4 months ago |
Report working, Wishlist partly working.
|
-
Property mode
set to
100644
|
File size:
520 bytes
|
Line | |
---|
1 | package com.example.skychasemk.repository;
|
---|
2 |
|
---|
3 | import com.example.skychasemk.model.TopMonthlyReport;
|
---|
4 | import org.springframework.data.jpa.repository.JpaRepository;
|
---|
5 | import org.springframework.data.jpa.repository.Query;
|
---|
6 | import org.springframework.stereotype.Repository;
|
---|
7 |
|
---|
8 | import java.time.LocalDate;
|
---|
9 | import java.util.List;
|
---|
10 |
|
---|
11 | @Repository
|
---|
12 | public interface TopMonthlyReportRepository extends JpaRepository<TopMonthlyReport, LocalDate> {
|
---|
13 | @Query("SELECT v FROM TopMonthlyReport v")
|
---|
14 | List<TopMonthlyReport> findAllRecords();
|
---|
15 |
|
---|
16 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.