From f4a0f2acc63d7785eab108419a4e16f5f688cb95 Mon Sep 17 00:00:00 2001
From: yujian <yujian@163.com>
Date: 星期六, 18 一月 2020 12:06:27 +0800
Subject: [PATCH] 用户注册信息

---
 fanli/src/main/java/com/yeshi/fanli/service/inter/goods/TaoBaoGoodsBriefService.java |  113 +++++++++++++++-----------------------------------------
 1 files changed, 31 insertions(+), 82 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/goods/TaoBaoGoodsBriefService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/goods/TaoBaoGoodsBriefService.java
index aab6441..fcd415b 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/inter/goods/TaoBaoGoodsBriefService.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/goods/TaoBaoGoodsBriefService.java
@@ -3,56 +3,10 @@
 import java.math.BigDecimal;
 import java.util.List;
 
-import com.yeshi.fanli.entity.bus.recommend.RecommendSectionGoods;
 import com.yeshi.fanli.entity.taobao.TaoBaoGoodsBrief;
-import com.yeshi.fanli.exception.ExistObjectException;
-import com.yeshi.fanli.exception.NotExistObjectException;
-import com.yeshi.fanli.exception.ShareGoodsException;
-import com.yeshi.fanli.exception.taobao.TaobaoGoodsDownException;
+import com.yeshi.fanli.exception.share.ShareGoodsException;
 
 public interface TaoBaoGoodsBriefService {
-
-	public void save(TaoBaoGoodsBrief taoBaoGoodsBrief) throws ExistObjectException;
-
-	public List<TaoBaoGoodsBrief> getTBList(int i, String key);
-
-	public int getCount(String key);
-
-	public TaoBaoGoodsBrief getTaoBao(long id);
-
-	public TaoBaoGoodsBrief getTaoBaoByAuctionId(long id);
-
-	public void deleteTaoBaoGoods(long id);
-
-	public void addRecommendSectionGoods(long rsid, long tbid) throws NotExistObjectException, ExistObjectException;
-
-	public void addClassRecommendGoods(long gcid, long tbid) throws NotExistObjectException, ExistObjectException;
-
-	public TaoBaoGoodsBrief getTaoBaoByAuctionId(String tbid);
-
-	public void updateTBGoods(TaoBaoGoodsBrief tb) throws NotExistObjectException;
-
-	/**
-	 * 鏇存柊鏈�鏂扮殑鍟嗗搧鏁版嵁鍒版暟鎹簱
-	 * 
-	 * @param tb
-	 * @throws NotExistObjectException
-	 */
-	public void updateTBGoodsWithNewInfo(TaoBaoGoodsBrief tb) throws NotExistObjectException;
-
-	public List<TaoBaoGoodsBrief> getAllTaoBao();
-
-	public void getUpdateTaoBao();
-
-	public int getInvalidCount();
-
-	public List<TaoBaoGoodsBrief> getInvalidTB(int pageIndex);
-
-	public void updateTaoBaoGoods(TaoBaoGoodsBrief taoBaoGoodsBrief) throws TaobaoGoodsDownException;
-
-	public List<RecommendSectionGoods> listRecommendSectionGoods();
-
-	public void addEveryDayTask(long tbid) throws NotExistObjectException, ExistObjectException;
 
 	/**
 	 * 鑾峰彇鍗曚釜鍟嗗搧鐢ㄦ埛鑳藉鍒嗗緱鐨勭孩鍖�
@@ -78,31 +32,8 @@
 	 */
 	List<TaoBaoGoodsBrief> queryByAuctionId(Long auctionId);
 
-	/**
-	 * 閫夋嫨琛屾彃鍏ユ暟鎹�
-	 * 
-	 * @param taoBaoGoodsBrief
-	 * @return
-	 */
-	public int insertSelective(TaoBaoGoodsBrief taoBaoGoodsBrief);
 
 	public TaoBaoGoodsBrief selectByPrimaryKey(Long id);
-
-	/**
-	 * 鏇存柊鍟嗗搧淇℃伅涓庢窐瀹濅俊鎭竴鑷�
-	 * 
-	 * @param taoBaoGoodsBrief
-	 * @throws TaobaoGoodsDownException
-	 */
-	public void updateTaoBaoGoodsByMybatis(TaoBaoGoodsBrief taoBaoGoodsBrief) throws TaobaoGoodsDownException;
-
-	/**
-	 * 閫夋嫨鎬ф洿鏂版暟鎹�--mybatis
-	 * 
-	 * @param taoBaoGoodsBrief
-	 * @throws TaobaoGoodsDownException
-	 */
-	public void updateByPrimaryKeySelective(TaoBaoGoodsBrief taoBaoGoodsBrief) throws TaobaoGoodsDownException;
 
 	/**
 	 * 璁剧疆榛樿鍊�
@@ -121,10 +52,6 @@
 	 */
 	public TaoBaoGoodsBrief getTaoBaoGoodsDetailForShare(Long auctionId, Long uid) throws ShareGoodsException;
 
-
-	public int updateByPrimaryKey(TaoBaoGoodsBrief taoBaoGoodsBrief);
- 
-	
 	/**
 	 * 鎵归噺鎻掑叆鍟嗗搧
 	 * @param list
@@ -134,19 +61,41 @@
 
 	
 	/**
-	 * 鎵归噺鏇存柊鍟嗗搧
-	 * @param list
-	 */
-	public void updateBatchSelective(List<TaoBaoGoodsBrief> list);
-
-	
-	/**
 	 * 鎵归噺鏌ヨ鏍规嵁AuctionId
 	 * @param list
 	 * @return
 	 */
-	public List<TaoBaoGoodsBrief> listQueryByAuctionId(List<Long> list);
+	public List<Long> listExistById(List<Long> list);
+	
+	/**
+	 * 鏍规嵁搴楅摵id鏌ヨ
+	 * @param start
+	 * @param count
+	 * @param shopId
+	 * @return
+	 */
+	public List<TaoBaoGoodsBrief> listByShopId(long start, int count, Long shopId);
 
+	
+	public long countByShopId(Long shopId);
 
+	/**
+	 * 鎵归噺鍒犻櫎
+	 * @param list
+	 */
+	public void deleteBatchByGoodsId(List<Long> list);
+
+	/**
+	 * 涓婚敭鍒犻櫎
+	 * @param id
+	 */
+	public void deleteByPrimaryKey(Long id);
+	
+	
+	/**
+	 * 杩囨护鎺変笅鏋跺晢鍝�
+	 * @param goodsList
+	 */
+	public List<TaoBaoGoodsBrief>  filterOffLineGoods(List<TaoBaoGoodsBrief> goodsList);
 
 }

--
Gitblit v1.8.0