main
Last change
on this file since 2e46f06 was 2e46f06, checked in by andrejtodorovski <82031894+andrejtodorovski@…>, 19 months ago |
Adding the models and testing one view
|
-
Property mode
set to
100644
|
File size:
589 bytes
|
Rev | Line | |
---|
[2e46f06] | 1 | package com.example.autopartz.repository;
|
---|
| 2 |
|
---|
| 3 | import com.example.autopartz.model.RepairShopReviewsSummary;
|
---|
| 4 | import jakarta.transaction.Transactional;
|
---|
| 5 | import org.springframework.data.jpa.repository.JpaRepository;
|
---|
| 6 | import org.springframework.stereotype.Repository;
|
---|
| 7 |
|
---|
| 8 | import java.util.List;
|
---|
| 9 |
|
---|
| 10 | // извештај за сите сервиси и за сите број на reviews и avg рејтинг
|
---|
| 11 | @Repository
|
---|
| 12 | @Transactional
|
---|
| 13 | public interface RepairShopReviewSummaryRepository extends JpaRepository<RepairShopReviewsSummary,Long> {
|
---|
| 14 | List<RepairShopReviewsSummary> findAllByRsid(Long rsid);
|
---|
| 15 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.