...
|
...
|
@@ -150,12 +150,12 @@ public class UfoFavoriteService { |
|
|
// 3.2、执行搜索
|
|
|
SearchResult searchResult = searchCommonService.doSearch(ISearchConstants.INDEX_NAME_UFO_PRODUCT_INDEX, searchParam);
|
|
|
|
|
|
logger.debug("searchResult is {}", searchResult.getResultList());
|
|
|
logger.info("searchResult is {}", searchResult.getResultList());
|
|
|
|
|
|
// 3.3、构造返回结果
|
|
|
List<Map<String, Object>> returnInfoList = ufoProductIndexBaseService.buildProductReturnInfoList(searchResult.getResultList(), paramMap);
|
|
|
|
|
|
logger.debug("returnInfoList is {}", returnInfoList);
|
|
|
logger.info("returnInfoList is {}", returnInfoList);
|
|
|
|
|
|
// 3.4、添加自定义标签
|
|
|
customizeTagBaseService.fillCustomizeTag(returnInfoList, false);
|
...
|
...
|
@@ -167,7 +167,7 @@ public class UfoFavoriteService { |
|
|
String[] storageIdArray = paramMap.get(UfoSearchRequestParams.UFO_PARAM_STORAGE_ID).split(",");
|
|
|
|
|
|
|
|
|
logger.debug("storageIdArray is {}", storageIdArray);
|
|
|
logger.info("storageIdArray is {}", storageIdArray);
|
|
|
|
|
|
for (String storageIdStr : storageIdArray) {
|
|
|
Integer storageIdInt = null;
|
...
|
...
|
@@ -185,7 +185,7 @@ public class UfoFavoriteService { |
|
|
Map<String, Object> sknInfo = productReturnInfoMap.get(String.valueOf(storageIdToProductIdMap.get(storageIdInt)));
|
|
|
|
|
|
|
|
|
logger.debug("sknInfo is {}", sknInfo);
|
|
|
logger.info("sknInfo is {}", sknInfo);
|
|
|
|
|
|
if (sknInfo != null) {
|
|
|
sknInfo.put(UfoSearchRequestParams.UFO_PARAM_STORAGE_ID, storageIdInt);
|
...
|
...
|
|