| | |
| | |
|
| | | import com.yeshi.fanli.entity.goods.CommonGoods;
|
| | | import com.yeshi.fanli.entity.goods.RecommendUserGoods;
|
| | | import com.yeshi.fanli.entity.goods.RecommendUserGoodsMap;
|
| | | import com.yeshi.fanli.exception.goods.RecommendUserGoodsException;
|
| | |
|
| | | public interface RecommendUserGoodsService {
|
| | |
| | | */
|
| | | public void addRecommend(Long uid, String recommendDesc, List<CommonGoods> goodsList)
|
| | | throws RecommendUserGoodsException;
|
| | | |
| | | /**
|
| | | * |
| | | * @param uid
|
| | | * @param commonGoodsId
|
| | | * @return
|
| | | */
|
| | | public List<RecommendUserGoodsMap> listByUidAndCommonGoodsId(Long uid,Long commonGoodsId);
|
| | | |
| | | /**
|
| | | * |
| | | * @param uid
|
| | | * @param commonGoodsId
|
| | | * @return
|
| | | */
|
| | | public Long countByUidAndCommonGoodsId(Long uid,Long commonGoodsId);
|
| | | |
| | |
|
| | | /**
|
| | | * 获取推荐列表
|
| | |
| | | * @return
|
| | | */
|
| | | public long countRecommend(Long uid);
|
| | | |
| | | public RecommendUserGoods getLatestRecommendUserGoods(Long uid);
|
| | |
|
| | | }
|