...
|
...
|
@@ -31,7 +31,6 @@ public class ProductILogicService { |
|
|
public List<ProductIBO> buildProductIBO(List<Product> products, Map<Integer, ProductSort> productSortMap, Map<Integer, Brand> brandMap,
|
|
|
Map<Integer, Shops> shopMap, Map<Integer, CsBrandKeyword> csBrandKeywordMap) {
|
|
|
|
|
|
long begin = System.currentTimeMillis();
|
|
|
List<ProductIBO> productIBOList = new ArrayList<>();
|
|
|
|
|
|
for (Product p : products) {
|
...
|
...
|
@@ -142,7 +141,6 @@ public class ProductILogicService { |
|
|
logger.error("[fun=buildProductIBO][" + p.getId() + "]" + e.getMessage(), e);
|
|
|
}
|
|
|
}
|
|
|
logger.info("[fun=buildProductIBO],[cost: {}]", System.currentTimeMillis() - begin);
|
|
|
return productIBOList;
|
|
|
}
|
|
|
|
...
|
...
|
@@ -155,7 +153,7 @@ public class ProductILogicService { |
|
|
productIBO.setBrandKeyword(brand.getBrandKeyword());
|
|
|
productIBO.setBrandName(brand.getBrandName());
|
|
|
productIBO.setBrandDomain(brand.getBrandDomain());
|
|
|
productIBO.setBrandAlif(BrandNameUtils.genBrandAlif(brand.getBrandName(),brand.getBrandNameCn()));
|
|
|
productIBO.setBrandAlif(BrandNameUtils.genBrandAlif(brand.getBrandName(), brand.getBrandNameCn()));
|
|
|
productIBO.setCountryId(brand.getCountryId());
|
|
|
}
|
|
|
if (csBrandKeyword != null) {
|
...
|
...
|
|