...
|
...
|
@@ -159,21 +159,26 @@ public class UserRecallResponseBuilder { |
|
|
* @return
|
|
|
*/
|
|
|
private boolean isLikePriceArea(int uid, List<Integer> userPriceAreas,Integer sknPriceArea){
|
|
|
if(userPriceAreas==null || userPriceAreas.isEmpty()){
|
|
|
return false;
|
|
|
}
|
|
|
if(uid%2==1){
|
|
|
if(searchDynamicConfigService.isAStrategyOpen()){
|
|
|
return isLikePriceAreaWithAStrategy(userPriceAreas,sknPriceArea);
|
|
|
}else{
|
|
|
return isLikePriceAreaWithBStrategy(userPriceAreas,sknPriceArea);
|
|
|
try {
|
|
|
if(userPriceAreas==null || userPriceAreas.isEmpty()){
|
|
|
return false;
|
|
|
}
|
|
|
}else{
|
|
|
if(searchDynamicConfigService.isBStrategyOpen()){
|
|
|
return isLikePriceAreaWithBStrategy(userPriceAreas,sknPriceArea);
|
|
|
if(uid%2==1){
|
|
|
if(searchDynamicConfigService.isAStrategyOpen()){
|
|
|
return isLikePriceAreaWithAStrategy(userPriceAreas,sknPriceArea);
|
|
|
}else{
|
|
|
return isLikePriceAreaWithBStrategy(userPriceAreas,sknPriceArea);
|
|
|
}
|
|
|
}else{
|
|
|
return isLikePriceAreaWithAStrategy(userPriceAreas,sknPriceArea);
|
|
|
if(searchDynamicConfigService.isBStrategyOpen()){
|
|
|
return isLikePriceAreaWithBStrategy(userPriceAreas,sknPriceArea);
|
|
|
}else{
|
|
|
return isLikePriceAreaWithAStrategy(userPriceAreas,sknPriceArea);
|
|
|
}
|
|
|
}
|
|
|
}catch (Exception e){
|
|
|
RECALL_NEW_LOGGER.error(e.getMessage(),e);
|
|
|
return false;
|
|
|
}
|
|
|
}
|
|
|
|
...
|
...
|
|