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