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/lable/QualityFactoryService.java |  103 ++++++++++++++-------------------------------------
 1 files changed, 28 insertions(+), 75 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/lable/QualityFactoryService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/lable/QualityFactoryService.java
index d5f1dec..15b8dc2 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/inter/lable/QualityFactoryService.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/lable/QualityFactoryService.java
@@ -8,7 +8,8 @@
 import com.yeshi.fanli.entity.bus.lable.QualityFactory;
 import com.yeshi.fanli.entity.common.AdminUser;
 import com.yeshi.fanli.entity.taobao.TaoBaoGoodsBrief;
-import com.yeshi.fanli.exception.QualityFactoryException;
+import com.yeshi.fanli.exception.goods.quality.QualityFactoryException;
+import com.yeshi.fanli.vo.quality.QualityFactoryVO;
 
 public interface QualityFactoryService {
 
@@ -45,13 +46,6 @@
 	 */
 	public void deleteByGoodsId(List<String> ids) throws QualityFactoryException;
 
-	/**
-	 * 鏍规嵁娣樺疂id 鍒犻櫎绮鹃�夊簱瀵瑰簲淇℃伅
-	 * 
-	 * @param gid
-	 * @throws QualityFactoryException
-	 */
-	public void deleteByTaoBaoGoodsId(Long gid) throws QualityFactoryException;
 
 	/**
 	 * 鏍规嵁娣樺疂id闆嗗悎 鎵归噺鍒犻櫎绮鹃�夊簱瀵瑰簲淇℃伅
@@ -59,7 +53,7 @@
 	 * @param listId
 	 * @throws QualityFactoryException
 	 */
-	public void deleteBatchByTaoBaoGoodsId(List<Long> listId) throws QualityFactoryException;
+	public void deleteBatchByTaoBaoGoodsId(List<Long> listId);
 
 	/**
 	 * 鏍规嵁娣樺疂id 鍒犻櫎
@@ -67,7 +61,7 @@
 	 * @param auctionId
 	 * @throws QualityFactoryException
 	 */
-	public void deleteByTbAuctionId(Long auctionId);
+	public void deleteByTaoBaoGoodsId(Long auctionId);
 
 	/**
 	 * 缁熻鍟嗗搧id 鏄瓨鍦ㄧ簿鍝佸簱
@@ -77,57 +71,15 @@
 	 */
 	public Long queryCountByGoodsId(Long goodsId);
 
-	/**
-	 * 鎵归噺鍏ュ簱--娣樺疂
-	 * 
-	 * @param auctionIdList
-	 * @param admin
-	 * @throws Exception
-	 */
-	public void addBatch(List<Long> auctionIdList, String las, AdminUser admin) throws Exception;
 
 	/**
 	 * 绮鹃�夊簱鍟嗗搧绛涢��
 	 * 
-	 * @param start
-	 * @param count
-	 * @param key
-	 * @param totalSales
-	 * @param price
-	 * @param tkRate
-	 * @param goodsSource
-	 * @param days
-	 * @param startZkPrice
-	 * @param endZkPrice
-	 * @param startBiz30day
-	 * @param endBiz30day
-	 * @param startWeight
-	 * @param endWeight
-	 * @param startTkRate
-	 * @param endTkRate
-	 * @param startAmount
-	 * @param endAmount
-	 * @param hasCoupon
-	 * @param freeShipment
-	 * @param isPrepay
-	 * @param payRate30
-	 * @param goodRate
-	 * @param rfdRate
-	 * @return
 	 * @throws QualityFactoryException
 	 */
-	public List<QualityFactory> query(long start, int count, String key, Integer totalSales, Integer price,
-			Integer tkRate, Integer propor, Integer goodsSource, Integer days, Integer startZkPrice, Integer endZkPrice,
-			Integer startBiz30day, Integer endBiz30day, Integer startWeight, Integer endWeight, Integer startTkRate,
-			Integer endTkRate, Integer startAmount, Integer endAmount, Integer hasCoupon, Integer freeShipment,
-			Integer isPrepay, Integer payRate30, Integer goodRate, Integer rfdRate, Integer startPropor,
-			Integer endPropor, Long gcid, Integer keyType) throws QualityFactoryException;
+	public List<QualityFactory> query(QualityFactoryVO qualityFactoryVO) throws QualityFactoryException;
 
-	public long queryCount(String key, Integer goodsSource, Integer days, Integer startZkPrice, Integer endZkPrice,
-			Integer startBiz30day, Integer endBiz30day, Integer startWeight, Integer endWeight, Integer startTkRate,
-			Integer endTkRate, Integer startAmount, Integer endAmount, Integer hasCoupon, Integer freeShipment,
-			Integer isPrepay, Integer payRate30, Integer goodRate, Integer rfdRate, Integer startPropor,
-			Integer endPropor, Long gcid, Integer keyType) throws QualityFactoryException;
+	public long queryCount(QualityFactoryVO qualityFactoryVO) throws QualityFactoryException;
 
 	/**
 	 * 鎵归噺璁剧疆鏉冮噸 + 闅忔満鏉冮噸
@@ -158,21 +110,6 @@
 	 */
 	public List<QualityFactory> queryAll(long start, int count, Integer days);
 
-	/**
-	 * 鏌ヨ闇�瑕佹洿鏂扮殑绮鹃�夊簱鍟嗗搧id
-	 * 
-	 * @param count
-	 * @param hour
-	 * @return
-	 */
-	public List<Long> queryNeedUpdate(long start, int count, int hour);
-
-	/**
-	 * 缁熻鏇存柊鏁版嵁閲�
-	 * 
-	 * @return
-	 */
-	public long queryNeedUpdateCount();
 
 	/**
 	 * 鏌ヨ绮鹃�夊晢鍝佹暟鎹簲鐢ㄥ墠绔�
@@ -200,8 +137,7 @@
 	 * @param systemCid
 	 * @param labels
 	 */
-	public void autoInsertOrUpadateStorage(List<TaoBaoGoodsBrief> goodsList, List<Label> listLabs,
-			BoutiqueAutoRule autoRule) throws Exception;
+	public void autoInsertOrUpadateStorage(BoutiqueAutoRule autoRule, List<TaoBaoGoodsBrief> goodsList, List<Label> listLabs);
 
 	/**
 	 * AuctionId鏌ユ敹绮鹃�夊簱
@@ -222,8 +158,7 @@
 	 *            鍟嗗搧鏉ユ簮
 	 * @return
 	 */
-	public List<Long> getAuctionIdbyClassId(Long systemCid, Integer goodsSource, String dateTime)
-			throws QualityFactoryException;
+	public List<Long> getAuctionIdbyClassId(Long systemCid, Integer goodsSource, String dateTime);
 
 	/**
 	 * 鏇存柊鏉冮噸
@@ -237,10 +172,10 @@
 	/**
 	 * 鏍规嵁绮鹃�夊簱鍟嗗搧id 鏇存柊鍟嗗搧淇℃伅
 	 * 
-	 * @param listId
+	 * @param gid
 	 *            鍟嗗搧涓婚敭
 	 */
-	public void updateGoodsFactory(List<Long> listId);
+	public void updateQualityGoods(Long goodsId);
 
 	/**
 	 * 鏍规嵁鏈�浣庨攢閲忔煡璇㈢簿閫夊簱锛堟寜鍒涘缓鏃堕棿鍊掑彊鎺掑垪锛�
@@ -252,4 +187,22 @@
 	 */
 	public List<QualityFactory> listByMinSalesCountOrderByCreateTimeDesc(int salesCount, int page, int pageSize);
 
+	/**
+	 * 鎵归噺娣诲姞鍟嗗搧鑷崇簿閫夊簱 骞惰创涓婃爣绛�
+	 * @param listTaoBaoGoods
+	 * @param lableNames
+	 * @param admin
+	 * @throws Exception
+	 */
+	public void addBatchTaoBaoGoods(List<TaoBaoGoodsBrief> listTaoBaoGoods, String lableNames, AdminUser admin)
+			throws Exception;
+
+	/**
+	 * 鍒犻櫎鏁版嵁
+	 * @param systemCid
+	 * @param formatDate
+	 * @param source
+	 */
+	public void deleteNotUpdateGoods(Long systemCid, String formatDate, int source);
+
 }

--
Gitblit v1.8.0