| | |
| | | package com.yeshi.fanli.service.inter.brand;
|
| | |
|
| | | import java.util.Date;
|
| | | import java.util.List;
|
| | |
|
| | | import com.yeshi.fanli.entity.brand.BrandGoodsCahe;
|
| | |
| | | */
|
| | | public interface BrandGoodsCaheService {
|
| | |
|
| | | public int addBrandGoods(BrandInfo brandInfo);
|
| | | public BrandInfo addBrandGoods(BrandInfo brandInfo);
|
| | |
|
| | | /**
|
| | | * 查询品牌商品
|
| | |
| | | */
|
| | | public List<BrandGoodsCahe> getByBrandId(int start, int count, Long brandId);
|
| | |
|
| | | |
| | | public void removeByBrandId(Long brandId);
|
| | | |
| | | |
| | | /**
|
| | | * 统计品牌商品数量
|
| | | * @param brandId
|
| | |
| | | */
|
| | | public long countByBrandId(Long brandId);
|
| | |
|
| | | /**
|
| | | * 删除之前的
|
| | | * @param createTime
|
| | | */
|
| | | public void removeAgoByDate(Date createTime);
|
| | |
|
| | | }
|