| | |
| | | package com.yeshi.fanli.service.inter.goods.recommend;
|
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import com.yeshi.fanli.entity.goods.recommend.RecommendGoodsDeleteHistory;
|
| | | import com.yeshi.fanli.entity.taobao.TaoBaoGoodsBrief;
|
| | |
|
| | | public interface RecommendGoodsDeleteHistoryService {
|
| | |
|
| | | /**
|
| | | * 添加推荐商品删除记录
|
| | | * |
| | | * @param history
|
| | | */
|
| | | public void addRecommendGoodsDeleteHistory(RecommendGoodsDeleteHistory history);
|
| | |
|
| | | /**
|
| | | * 过滤已经删除的商品
|
| | | * |
| | | * @param device
|
| | | * @param goodsList
|
| | | * @return
|
| | | */
|
| | | public List<TaoBaoGoodsBrief> filterGoods(String device, List<TaoBaoGoodsBrief> goodsList);
|
| | |
|
| | | }
|
| | | package com.yeshi.fanli.service.inter.goods.recommend; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.yeshi.fanli.entity.goods.recommend.RecommendGoodsDeleteHistory; |
| | | import com.yeshi.goods.facade.entity.taobao.TaoBaoGoodsBrief; |
| | | |
| | | public interface RecommendGoodsDeleteHistoryService { |
| | | |
| | | /** |
| | | * 添加推荐商品删除记录 |
| | | * |
| | | * @param history |
| | | */ |
| | | public void addRecommendGoodsDeleteHistory(RecommendGoodsDeleteHistory history); |
| | | |
| | | /** |
| | | * 过滤已经删除的商品 |
| | | * |
| | | * @param device |
| | | * @param goodsList |
| | | * @return |
| | | */ |
| | | public List<TaoBaoGoodsBrief> filterGoods(String device, List<TaoBaoGoodsBrief> goodsList); |
| | | |
| | | /** |
| | | * 后台统计列表 |
| | | * @param start |
| | | * @param count |
| | | * @param key |
| | | * @return |
| | | */ |
| | | public List<RecommendGoodsDeleteHistory> listBackStage(long start, int count, String key); |
| | | |
| | | public long countBackStage(String key); |
| | | |
| | | } |