...
|
...
|
@@ -77,8 +77,9 @@ public class BatchRecallCacheBean extends AbstractCacheBean<RecallRequest,Recall |
|
|
Integer productSkn = MapUtils.getInteger(result, ProductIndexEsField.productSkn, 0);
|
|
|
Integer brandId = MapUtils.getInteger(result, ProductIndexEsField.brandId, 0);
|
|
|
Integer middleSortId = MapUtils.getInteger(result, ProductIndexEsField.middleSortId, 0);
|
|
|
Integer priceArea = MapUtils.getInteger(result, ProductIndexEsField.priceArea, 0);
|
|
|
String factor = MapUtils.getString(result, ProductIndexEsField.productFeatureFactor, "");
|
|
|
recallSkns.add(new RecallResponse.RecallSkn(productSkn, brandId, middleSortId));
|
|
|
recallSkns.add(new RecallResponse.RecallSkn(productSkn, brandId, middleSortId,priceArea));
|
|
|
productFactorMap.put(productSkn,factor);
|
|
|
}
|
|
|
//2、将skn向量加入缓存-可节省一次ES查询
|
...
|
...
|
|