Showing
1 changed file
with
1 additions
and
1 deletions
@@ -174,7 +174,7 @@ public class ProductSearchServiceImpl implements ProductSearchService { | @@ -174,7 +174,7 @@ 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")) { | 177 | + if (StringUtils.equals(product.getString("is_yoho"), "Y")) { |
178 | handlerPrice(product); | 178 | handlerPrice(product); |
179 | } | 179 | } |
180 | } | 180 | } |
-
Please register or login to post a comment