...
|
...
|
@@ -13,6 +13,7 @@ import java.util.stream.Collectors; |
|
|
|
|
|
import com.yohobuy.ufo.model.promotion.response.CouponInfo;
|
|
|
import com.yohoufo.common.ApiResponse;
|
|
|
import com.yohoufo.dal.product.BrandMapper;
|
|
|
import org.apache.commons.collections.MapUtils;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.slf4j.Logger;
|
...
|
...
|
@@ -72,6 +73,9 @@ public class ProductSearchServiceImpl implements ProductSearchService { |
|
|
private ProductSortMapper productSortMapper;
|
|
|
|
|
|
@Autowired
|
|
|
private BrandMapper brandMapper;
|
|
|
|
|
|
@Autowired
|
|
|
ProductSalesService productSalesService;
|
|
|
|
|
|
@Autowired
|
...
|
...
|
@@ -183,6 +187,7 @@ public class ProductSearchServiceImpl implements ProductSearchService { |
|
|
|
|
|
@Override
|
|
|
public JSONObject searchAppraiseProductList(ProductSearchReq req) {
|
|
|
req.setNotBrand(StringUtils.join(brandMapper.selectExcludeAppraise(), ","))
|
|
|
SearchParam searchParam = new SearchParam().buildPageSearchParam(req);
|
|
|
String url = PRODUCT_SEARCH_QUERY_URL;
|
|
|
JSONObject data = search(searchParam.getParam(), url);
|
...
|
...
|
|