|
|
@@ -761,7 +761,7 @@ public class StoreInServiceImpl implements StoreInService {
|
|
|
switch (field) {
|
|
|
// 搜索型号
|
|
|
case CODE_FIELD :
|
|
|
- map = searcherService.searchComponentGoods(keyword, pageParams, "",request);
|
|
|
+ map = searcherService.searchComponentGoods(keyword, pageParams, type.replace("-",","),request);
|
|
|
List<Goods> goodsList = (List<Goods>) ((Map) map.get("stock")).get("content");
|
|
|
if (CollectionUtils.isNotEmpty(goodsList)) {
|
|
|
for (Goods goods : goodsList) {
|
|
|
@@ -772,7 +772,7 @@ public class StoreInServiceImpl implements StoreInService {
|
|
|
}
|
|
|
break;
|
|
|
case KIND_FIELD :
|
|
|
- map = searcherService.getEnterpriseBySearchKind(keyword, pageParams, "");
|
|
|
+ map = searcherService.getEnterpriseBySearchKind(keyword, pageParams, type.replace("-",","));
|
|
|
List<VendorIntroduction> vendorIntroductions = (List<VendorIntroduction>) ((HashMap) map.get("stock")).get("content");
|
|
|
if (CollectionUtils.isNotEmpty(vendorIntroductions)) {
|
|
|
for (VendorIntroduction vendorIntroduction : vendorIntroductions) {
|
|
|
@@ -783,7 +783,7 @@ public class StoreInServiceImpl implements StoreInService {
|
|
|
}
|
|
|
break;
|
|
|
case BRAND_FIELD :
|
|
|
- map = searcherService.getEnterpriseBySearchBrand(keyword, pageParams, "");
|
|
|
+ map = searcherService.getEnterpriseBySearchBrand(keyword, pageParams, type.replace("-",","));
|
|
|
List<VendorIntroduction> vendorIntroductionsByBrand = (List<VendorIntroduction>) ((HashMap) map.get("stock")).get("content");
|
|
|
if (CollectionUtils.isNotEmpty(vendorIntroductionsByBrand)) {
|
|
|
for (VendorIntroduction vendorIntroduction : vendorIntroductionsByBrand) {
|