From aa552facf6d833acab0d3e3e29bda2a0fb826ffe Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期一, 25 十一月 2019 16:14:13 +0800 Subject: [PATCH] 品牌缓存生效 --- fanli/src/main/java/com/yeshi/fanli/service/impl/brand/BrandShopCaheServiceImpl.java | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/brand/BrandShopCaheServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/brand/BrandShopCaheServiceImpl.java index 1d96481..fe827c0 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/impl/brand/BrandShopCaheServiceImpl.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/brand/BrandShopCaheServiceImpl.java @@ -48,7 +48,7 @@ BrandShopCahe brandShop = new BrandShopCahe(); brandShop.setBrandId(brandInfo.getId()); - brandShop.setShop(ShopInfoVOFactory.convertTaoBaoShop(taoBaoShop)); + brandShop.setShop(shopInfoVO); brandShop.setCreateTime(new Date()); brandShopCaheDao.insert(brandShop); return false; @@ -81,11 +81,11 @@ */ @Override public void addBrandShopPDD(BrandInfo brandInfo) { - String shopKey = brandInfo.getShopKey(); + String shopKey = brandInfo.getShopKeyPDD(); if (StringUtil.isNullOrEmpty(shopKey)) - shopKey = brandInfo.getName(); + return; - String searchKey = brandInfo.getSearchKey(); + String searchKey = brandInfo.getSearchKeyPDD(); if (StringUtil.isNullOrEmpty(searchKey)) searchKey = brandInfo.getName(); -- Gitblit v1.8.0