Showing
1 changed file
with
3 additions
and
3 deletions
@@ -174,9 +174,9 @@ public class ProductSearchServiceImpl implements ProductSearchService { | @@ -174,9 +174,9 @@ public class ProductSearchServiceImpl implements ProductSearchService { | ||
174 | String default_images = fillProductImgUrl(MapUtils.getString(product, "default_images", "")); | 174 | String default_images = fillProductImgUrl(MapUtils.getString(product, "default_images", "")); |
175 | product.replace("default_images", default_images); | 175 | product.replace("default_images", default_images); |
176 | //处理有货价格 | 176 | //处理有货价格 |
177 | - if(product.getString("is_yoho").equals("Y")) { | ||
178 | - handlerPrice(product); | ||
179 | - } | 177 | + if (StringUtils.equals(product.getString("is_yoho"), "Y")) { |
178 | + handlerPrice(product); | ||
179 | + } | ||
180 | } | 180 | } |
181 | } | 181 | } |
182 | 182 |
-
Please register or login to post a comment