Changeset 2a552fe for src/main/java/com/example/autopartz/repository
- Timestamp:
- 07/26/23 19:26:35 (16 months ago)
- Branches:
- main
- Parents:
- e02787e
- Location:
- src/main/java/com/example/autopartz/repository
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/autopartz/repository/OrdersForUserRepository.java
re02787e r2a552fe 6 6 import org.springframework.stereotype.Repository; 7 7 8 import javax.transaction.Transactional;9 8 import java.util.List; 10 9 11 10 @Repository 12 @Transactional13 11 public interface OrdersForUserRepository extends JpaRepository<OrdersForUser, OrdersForUserId> { 14 12 List<OrdersForUser> findAllByUserid(Integer userid); -
src/main/java/com/example/autopartz/repository/PartsForCarTypeAndCategoryRepository.java
re02787e r2a552fe 5 5 import org.springframework.stereotype.Repository; 6 6 7 import javax.transaction.Transactional;8 7 import java.util.List; 9 8 10 9 @Repository 11 @Transactional12 10 public interface PartsForCarTypeAndCategoryRepository extends JpaRepository<PartsForCarTypeAndCategory,Integer> { 13 11 List<PartsForCarTypeAndCategory> findAllByCartypeAndCategory(String cartype, String category); -
src/main/java/com/example/autopartz/repository/RepairShopReviewSummaryRepository.java
re02787e r2a552fe 5 5 import org.springframework.stereotype.Repository; 6 6 7 import javax.transaction.Transactional;8 9 7 // извештај за сите сервиси и за сите број на reviews и avg рејтинг 10 8 @Repository 11 @Transactional12 9 public interface RepairShopReviewSummaryRepository extends JpaRepository<RepairShopReviewsSummary,Integer> { 13 // List<RepairShopReviewsSummary> findAllByRsid(Integer rsid);14 10 }
Note:
See TracChangeset
for help on using the changeset viewer.