...
|
...
|
@@ -18,6 +18,7 @@ import com.yoho.search.service.utils.SearchApiResultUtils; |
|
|
import com.yoho.search.service.utils.SearchRequestParams;
|
|
|
import com.yoho.search.service.vo.SearchApiResult;
|
|
|
import org.apache.commons.collections.CollectionUtils;
|
|
|
import org.apache.commons.collections.map.HashedMap;
|
|
|
import org.apache.commons.lang.StringUtils;
|
|
|
import org.elasticsearch.index.query.*;
|
|
|
import org.elasticsearch.search.SearchHit;
|
...
|
...
|
@@ -392,7 +393,13 @@ public class ShopsServiceImpl extends BaseService implements IShopsService, Appl |
|
|
dataMapMap.put(lt.getKeyAsString(), map);
|
|
|
//处理品牌信息
|
|
|
Map<String, Object> shopsInfo = shopInfoMap.get(lt.getKeyAsString());
|
|
|
map.put("info", shopsInfo);
|
|
|
Map<String, Object> shopDataMap = new HashedMap();
|
|
|
shopDataMap.put("shop_id", shopsInfo.get("shopsId"));
|
|
|
shopDataMap.put("shop_name", shopsInfo.get("shopName") == null ? "" : shopsInfo.get("shopName"));
|
|
|
shopDataMap.put("shop_logo", shopsInfo.get("shopLogo") == null ? "" : shopsInfo.get("shopLogo"));
|
|
|
shopDataMap.put("shop_domain", shopsInfo.get("shopDomain") == null ? "" : shopsInfo.get("shopDomain"));
|
|
|
shopDataMap.put("shop_type", shopsInfo.get("shopsType") == null ? "" : shopsInfo.get("shopsType"));
|
|
|
map.put("info", shopDataMap);
|
|
|
dataMapMap.put(lt.getKeyAsString(), map);
|
|
|
}
|
|
|
try {
|
...
|
...
|
|