admin
2020-07-29 c338aa60df58bee9f4c25afedf94fe6930a119c1
fanli/src/main/java/com/yeshi/fanli/service/impl/brand/BrandShopCaheServiceImpl.java
@@ -14,7 +14,7 @@
import com.yeshi.fanli.dto.pdd.PDDSearchFilter;
import com.yeshi.fanli.entity.brand.BrandInfo;
import com.yeshi.fanli.entity.brand.BrandShopCahe;
import com.yeshi.fanli.entity.taobao.TaoBaoShop;
import com.yeshi.common.entity.taobao.TaoBaoShop;
import com.yeshi.fanli.service.inter.brand.BrandShopCaheService;
import com.yeshi.fanli.service.inter.taobao.TaoBaoShopService;
import com.yeshi.fanli.util.StringUtil;
@@ -80,12 +80,12 @@
    * @return
    */
   @Override
   public void addBrandShopPDD(BrandInfo brandInfo) {
      String shopKey = brandInfo.getShopKey();
   public int addBrandShopPDD(BrandInfo brandInfo) {
      String shopKey = brandInfo.getShopKeyPDD();
      if (StringUtil.isNullOrEmpty(shopKey))
         shopKey = brandInfo.getName();
         return 0;
      
      String searchKey = brandInfo.getSearchKey();
      String searchKey = brandInfo.getSearchKeyPDD();
      if (StringUtil.isNullOrEmpty(searchKey))
         searchKey = brandInfo.getName();
      
@@ -124,7 +124,9 @@
         brandShop.setShop(shopInfoVO);
         brandShop.setCreateTime(new Date());
         brandShopCaheDao.insert(brandShop);
         return 1;
      }
      return 0;
   }