| | |
| | | package com.hrt.system.mapper.goods; |
| | | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.hrt.system.domain.dto.AppSearchGoodsPageDto; |
| | | import com.hrt.system.domain.dto.AppShopGoodsPageDto; |
| | | import com.hrt.system.domain.poji.goods.Goods; |
| | | import com.baomidou.mybatisplus.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.hrt.system.domain.vo.AppSimpleActivityGoodsVo; |
| | | import com.hrt.system.domain.vo.AppSimpleGoodsVo; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | */ |
| | | public interface GoodsMapper extends BaseMapper<Goods> { |
| | | |
| | | /** |
| | | * 获取推荐商品列表 |
| | | * @param page |
| | | * @return |
| | | */ |
| | | List<AppSimpleGoodsVo> pageRecommendGoods(Page page, @Param("shopId")Long shopId); |
| | | |
| | | /** |
| | | * 获取商城商品列表 |
| | | * @param page |
| | | * @param appShopGoodsPageDto |
| | | * @return |
| | | */ |
| | | List<AppSimpleGoodsVo> pageShopGoods(Page page, @Param("param")AppShopGoodsPageDto appShopGoodsPageDto); |
| | | |
| | | /** |
| | | * 获取搜索商品列表 |
| | | * @param page |
| | | * @param appSearchGoodsPageDto |
| | | * @return |
| | | */ |
| | | List<AppSimpleGoodsVo> pageSearchGoods(Page page, @Param("param")AppSearchGoodsPageDto appSearchGoodsPageDto); |
| | | |
| | | /** |
| | | * 获取搜索商品列表 |
| | | * @param page |
| | | * @param appSearchGoodsPageDto |
| | | * @return |
| | | */ |
| | | List<AppSimpleActivityGoodsVo> pageSearchActivityGoods(Page page, @Param("param")AppSearchGoodsPageDto appSearchGoodsPageDto); |
| | | } |