...
|
...
|
@@ -23,19 +23,19 @@ public class SpecialDealLogicService { |
|
|
private static String getSpecialSearchFieldFromProduct(ProductIBO productIBO){
|
|
|
StringBuilder specialSearchField = new StringBuilder();
|
|
|
if("1".equalsIgnoreCase(productIBO.getIsInstalment())){
|
|
|
specialSearchField.append("分期,fenqi");
|
|
|
specialSearchField.append("分期,fenqi,");
|
|
|
}
|
|
|
if("Y".equalsIgnoreCase(productIBO.getIsAdvance())){
|
|
|
specialSearchField.append("预售,yushou");
|
|
|
specialSearchField.append("预售,yushou,");
|
|
|
}
|
|
|
if("Y".equalsIgnoreCase(productIBO.getIsLimitbuy())){
|
|
|
specialSearchField.append("限定发售,xiandingfashou");
|
|
|
specialSearchField.append("限定发售,xiandingfashou,");
|
|
|
}
|
|
|
if("Y".equalsIgnoreCase(productIBO.getIslimited())){
|
|
|
specialSearchField.append("限购,xiangou");
|
|
|
specialSearchField.append("限购,xiangou,");
|
|
|
}
|
|
|
if("Y".equalsIgnoreCase(productIBO.getIsSeckill())){
|
|
|
specialSearchField.append("秒杀,miaosha");
|
|
|
specialSearchField.append("秒杀,miaosha,");
|
|
|
}
|
|
|
return specialSearchField.toString();
|
|
|
}
|
...
|
...
|
|