Authored by hugufei

fix bug

... ... @@ -97,7 +97,7 @@ public class SceneRecallProductListService {
if(page<=recallTotalPage){
recallSknInfos = CollectionUtils.safeSubList(recallResult.getSknList(),(page-1)*pageSize,page*pageSize);
}else{
recallSknInfos = this.queryProductSknByFilterSkn(recallParams, recallResult.getSknList(), recallTotalPage-page, pageSize);
recallSknInfos = this.queryProductSknByFilterSkn(recallParams, recallResult.getSknList(), page-recallTotalPage, pageSize);
}
RECALL_NEW_LOGGER.info("SceneRecallProductListService[2].getRecallSknInfos,cost is [{}]", System.currentTimeMillis()-begin);
... ... @@ -169,7 +169,7 @@ public class SceneRecallProductListService {
for (Map<String, Object> product : searchResult.getResultList()) {
results.add(new RecallSknInfo(MapUtils.getIntValue(product,ProductIndexEsField.productSkn,0),"DEFAULT"));
}
RECALL_NEW_LOGGER.info("SceneRecallProductListService[4].queryProductSknByFilterSkn,cost is [{}]", System.currentTimeMillis()-begin);
RECALL_NEW_LOGGER.info("SceneRecallProductListService[1.5].queryProductSknByFilterSkn,cost is [{}]", System.currentTimeMillis()-begin);
return results;
}
... ...