...
|
...
|
@@ -2,7 +2,6 @@ package com.yoho.search.service.recall.model; |
|
|
|
|
|
import java.io.Serializable;
|
|
|
import java.util.ArrayList;
|
|
|
import java.util.Collections;
|
|
|
import java.util.List;
|
|
|
|
|
|
import org.apache.commons.lang.StringUtils;
|
...
|
...
|
@@ -40,10 +39,9 @@ public class CommonRecallResult extends SearchCacheAbleParam implements Serializ |
|
|
for (CommonRecallSkn commonRecallSkn : recallSknList) {
|
|
|
productSkns.add(commonRecallSkn.getProductSkn());
|
|
|
}
|
|
|
Collections.sort(productSkns);
|
|
|
return productSkns;
|
|
|
}
|
|
|
|
|
|
|
|
|
@Override
|
|
|
public String toCacheKeyValue() {
|
|
|
return StringUtils.join(toSknList(),",");
|
...
|
...
|
|