|
1 |
| -//package com.urunov.dao.sql.info; |
2 |
| -// |
3 |
| -//import com.urunov.dto.SearchSuggestionForThreeAttrDTO; |
4 |
| -//import com.urunov.dto.SearchSuggestionForTwoAttrDTO; |
5 |
| -//import com.urunov.entity.elements.info.ProductInfo; |
6 |
| -//import com.urunov.model.FilterAttributesResponse; |
7 |
| -//import com.urunov.model.HomeTabsDataResponse; |
8 |
| -//import org.javatuples.Pair; |
9 |
| -//import org.springframework.data.jpa.repository.JpaRepository; |
10 |
| -//import org.springframework.data.jpa.repository.Query; |
11 |
| -//import org.springframework.stereotype.Component; |
12 |
| -//import org.springframework.stereotype.Repository; |
13 |
| -//import org.springframework.stereotype.Service; |
14 |
| -// |
15 |
| -//import java.util.HashMap; |
16 |
| -//import java.util.List; |
17 |
| -// |
18 |
| -///** |
19 |
| -// * User: hamdamboy |
20 |
| -// * Project: model |
21 |
| -// * : @urunov |
22 |
| -// */ |
23 |
| -////@Component |
24 |
| -//public interface ProductInfoRepository extends JpaRepository<ProductInfo, Integer> { |
25 |
| -// |
| 1 | +package com.urunov.dao.sql.info; |
| 2 | + |
| 3 | +import com.urunov.entity.info.ProductInfo; |
| 4 | +import org.springframework.data.jpa.repository.JpaRepository; |
| 5 | + |
| 6 | +/** |
| 7 | +* User: hamdamboy |
| 8 | +* Project: model |
| 9 | +* : @urunov |
| 10 | +*/ |
| 11 | +//@Component |
| 12 | +public interface ProductInfoRepository extends JpaRepository<ProductInfo, Integer> { |
| 13 | + |
26 | 14 | // Pair<Long, List<ProductInfo>> getProductsByCategories(HashMap<String, String> conditionMap);
|
27 | 15 | //
|
28 | 16 | // List<ProductInfo> getProductsById(String[] productIds);
|
29 |
| -// |
| 17 | + |
30 | 18 | // FilterAttributesResponse getFilterAttributesByProducts(HashMap<String, String> conditionMap);
|
31 | 19 | //
|
32 | 20 | // HomeTabsDataResponse getBrandsAndApparelsByGender();
|
|
41 | 29 | //
|
42 | 30 | // @Query(value = "SELECT DISTINCT p.name FROM ProductInfo p")
|
43 | 31 | // List<String> getProductByName();
|
44 |
| -// |
45 |
| -//} |
| 32 | + |
| 33 | +} |
0 commit comments