package com.yeshi.fanli.dao.mybatis.taobao;
|
|
import java.util.List;
|
|
import org.apache.ibatis.annotations.Param;
|
|
import com.yeshi.fanli.dao.BaseMapper;
|
import com.yeshi.fanli.entity.taobao.TaoBaoShop;
|
import com.yeshi.fanli.vo.brand.TaoBaoShopVO;
|
|
public interface TaoBaoShopMapper extends BaseMapper<TaoBaoShop> {
|
|
/**
|
* 根据分类查询店铺信息、同时返回商品
|
* @param start
|
* @param count
|
* @param cid
|
* @return
|
*/
|
List<TaoBaoShopVO> listBrandShopinfo(@Param("start") long start, @Param("count") int count, @Param("cid") Long cid);
|
|
/**
|
* 统计:分类统并商品数量大于3
|
* @param cid
|
* @return
|
*/
|
long countBrandShopinfo(@Param("cid") Long cid);
|
|
|
|
/**
|
* 根据店铺搜索关键词查找
|
* @param key
|
* @return
|
*/
|
List<TaoBaoShopVO> getShopByKey(@Param("key") String key);
|
|
}
|