| | |
| | | package com.yeshi.fanli.service.inter.brand;
|
| | |
|
| | | import java.util.Date;
|
| | | import java.util.List;
|
| | |
|
| | | import com.yeshi.fanli.dto.jd.JDShopInfo;
|
| | | import com.yeshi.fanli.entity.brand.BrandInfo;
|
| | | import com.yeshi.fanli.entity.brand.BrandShopCahe;
|
| | |
|
| | | /**
|
| | | * 品牌店铺
|
| | | * |
| | | * @author Administrator
|
| | | *
|
| | | */
|
| | | public interface BrandShopCaheService {
|
| | |
|
| | |
|
| | | /**O
|
| | | * 获取品牌店铺
|
| | | * @param brandId
|
| | | * @return
|
| | | */
|
| | | public List<BrandShopCahe> getByBrandId(Long brandId);
|
| | |
|
| | | /**
|
| | | * 添加淘宝店铺信息
|
| | | * @param brandId
|
| | | * @param auctionId
|
| | | * @param sellerId
|
| | | */
|
| | | public boolean addBrandShopTB(BrandInfo brandInfo, Long auctionId, Long sellerId);
|
| | |
|
| | | /**
|
| | | * 添加京东店铺信息
|
| | | * @param brandId
|
| | | * @param shopInfo
|
| | | */
|
| | | public void addBrandShopJD(BrandInfo brandInfo, JDShopInfo shopInfo);
|
| | |
|
| | | /**
|
| | | * 添加拼多多店铺
|
| | | * @param brandInfo
|
| | | */
|
| | | public int addBrandShopPDD(BrandInfo brandInfo);
|
| | |
|
| | | /**
|
| | | * 删除之前的
|
| | | * @param createTime
|
| | | */
|
| | | public void removeAgoByDate(Date createTime);
|
| | | |
| | | |
| | | public void removeByBrandId(Long brandId);
|
| | |
|
| | | public void removeByDateAndType(Long brandId, int type, Date date);
|
| | |
|
| | | }
|
| | | package com.yeshi.fanli.service.inter.brand; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | import com.yeshi.fanli.dto.jd.JDShopInfo; |
| | | import com.yeshi.fanli.entity.brand.BrandInfo; |
| | | import com.yeshi.fanli.entity.brand.BrandShopCahe; |
| | | |
| | | /** |
| | | * 品牌店铺 |
| | | * |
| | | * @author Administrator |
| | | * |
| | | */ |
| | | public interface BrandShopCaheService { |
| | | |
| | | |
| | | /**O |
| | | * 获取品牌店铺 |
| | | * @param brandId |
| | | * @return |
| | | */ |
| | | public List<BrandShopCahe> getByBrandId(Long brandId); |
| | | |
| | | /** |
| | | * 添加淘宝店铺信息 |
| | | * @param brandId |
| | | * @param auctionId |
| | | * @param sellerId |
| | | */ |
| | | public boolean addBrandShopTB(BrandInfo brandInfo, String auctionId, Long sellerId); |
| | | |
| | | /** |
| | | * 添加京东店铺信息 |
| | | * @param brandId |
| | | * @param shopInfo |
| | | */ |
| | | public void addBrandShopJD(BrandInfo brandInfo, JDShopInfo shopInfo); |
| | | |
| | | /** |
| | | * 添加拼多多店铺 |
| | | * @param brandInfo |
| | | */ |
| | | public int addBrandShopPDD(BrandInfo brandInfo); |
| | | |
| | | /** |
| | | * 删除之前的 |
| | | * @param createTime |
| | | */ |
| | | public void removeAgoByDate(Date createTime); |
| | | |
| | | |
| | | public void removeByBrandId(Long brandId); |
| | | |
| | | public void removeByDateAndType(Long brandId, int type, Date date); |
| | | |
| | | } |