| | |
| | | package com.yeshi.fanli.service.inter.goods;
|
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import com.yeshi.fanli.entity.goods.PullNewGoods;
|
| | | import com.yeshi.goods.facade.entity.taobao.haodanku.HDKGoodsDetail;
|
| | |
|
| | | public interface PullNewGoodsService {
|
| | |
|
| | |
|
| | | public void saveGoods(PullNewGoods pullNewGoods);
|
| | |
|
| | | public List<PullNewGoods> listQuery(int start, int count);
|
| | |
|
| | | public long countQuery();
|
| | |
|
| | | /**
|
| | | * 更新商品
|
| | | * @param itemid 商品id
|
| | | */
|
| | | public void updateGoods(HDKGoodsDetail goods);
|
| | |
|
| | | /**
|
| | | * 删除商品
|
| | | * @param itemid 商品id
|
| | | */
|
| | | public void deleteGoods(List<Long> list);
|
| | |
|
| | | }
|
| | | package com.yeshi.fanli.service.inter.goods; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.yeshi.fanli.entity.goods.PullNewGoods; |
| | | import com.yeshi.goods.facade.entity.taobao.haodanku.HDKGoodsDetail; |
| | | |
| | | public interface PullNewGoodsService { |
| | | |
| | | |
| | | public void saveGoods(PullNewGoods pullNewGoods); |
| | | |
| | | public List<PullNewGoods> listQuery(int start, int count); |
| | | |
| | | public long countQuery(); |
| | | |
| | | /** |
| | | * 更新商品 |
| | | * @param itemid 商品id |
| | | */ |
| | | public void updateGoods(HDKGoodsDetail goods); |
| | | |
| | | /** |
| | | * 删除商品 |
| | | * @param itemid 商品id |
| | | */ |
| | | public void deleteGoods(List<Long> list); |
| | | |
| | | } |