From cdcbed9af813b2a02cdc01eefa24db8bec6b51a9 Mon Sep 17 00:00:00 2001
From: yujian <yujian>
Date: 星期三, 27 三月 2019 12:17:33 +0800
Subject: [PATCH] 主分类 + 子分类 DAO改造

---
 fanli/src/main/java/com/yeshi/fanli/service/inter/lable/QualityFactoryService.java |   57 +++++++++++++--------------------------------------------
 1 files changed, 13 insertions(+), 44 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..bf23273 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
@@ -9,6 +9,7 @@
 import com.yeshi.fanli.entity.common.AdminUser;
 import com.yeshi.fanli.entity.taobao.TaoBaoGoodsBrief;
 import com.yeshi.fanli.exception.QualityFactoryException;
+import com.yeshi.fanli.vo.quality.QualityFactoryVO;
 
 public interface QualityFactoryService {
 
@@ -77,57 +78,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;
 
 	/**
 	 * 鎵归噺璁剧疆鏉冮噸 + 闅忔満鏉冮噸
@@ -252,4 +211,14 @@
 	 */
 	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;
+
 }

--
Gitblit v1.8.0