From 81da61b828e29b7745e1382dfbbaeb685dc083ef Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期二, 23 一月 2024 17:17:55 +0800
Subject: [PATCH] 抖音转链修改

---
 fanli/src/main/java/com/yeshi/fanli/service/inter/lable/QualityGoodsService.java |  455 ++++++++++++++++++++++++++++----------------------------
 1 files changed, 227 insertions(+), 228 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/lable/QualityGoodsService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/lable/QualityGoodsService.java
index 9ae58ea..af903d2 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/inter/lable/QualityGoodsService.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/lable/QualityGoodsService.java
@@ -1,228 +1,227 @@
-package com.yeshi.fanli.service.inter.lable;
-
-
-import java.math.BigDecimal;
-import java.util.List;
-
-import net.sf.json.JSONArray;
-
-import com.yeshi.fanli.entity.bus.lable.QualityFactory;
-
-public interface QualityGoodsService {
-
-	/**
-	 * 鏍规嵁鍒搁潰棰濇煡璇㈠晢鍝佷俊鎭�
-	 * @param start
-	 * @param count
-	 * @param key
-	 * @param endAmount
-	 * @return
-	 */
-	public List<QualityFactory> listQueryByCouponAmount(long start, int count, Integer key, Integer endAmount, Integer startPropor);
-	public long countQueryByCouponAmount(Integer key, Integer endAmount, Integer startPropor);
-	
-	
-	/**
-	 * 闄愭椂鎶㈣喘鍟嗗搧
-	 * @param start
-	 * @param count
-	 * @param periodtime
-	 * @return
-	 */
-	
-	public List<QualityFactory> listQueryByFlashSale(long start, int count);
-	public long countQueryByFlashSale();
-	
-	
-	/**
-	 * 鏍规嵁鍏抽敭璇嶆悳绱�
-	 * @param start
-	 * @param count
-	 * @param key
-	 * @return
-	 */
-	public List<QualityFactory> listQueryByKey(long start, int count, String key, Integer sort, Long systemCid,Integer hasQuan, Integer userType,
-			Integer biz30day,Integer startprice, Integer endprice);
-	public long countQueryByKey(String key, Long systemCid,Integer hasQuan, Integer userType,
-			Integer biz30day,Integer startprice, Integer endprice);
-
-	
-	/**
-	 * 涓�绾у垎绫绘煡璇㈢簿閫夊簱鏁版嵁
-	 * @param start
-	 * @param count
-	 * @param cid
-	 * @return
-	 */
-	public List<QualityFactory> listQueryByClassId(long start, int count, Long cid);
-
-	public long countQueryClassId(Long cid);
-
-	
-	/**
-	 * 鍏抽敭璇�+鏍囩id鎼滅储鍟嗗搧
-	 * @param start
-	 * @param count
-	 * @param systemCid
-	 * @param key
-	 * @param listId
-	 * @param sort
-	 * @return
-	 */
-	
-	public List<QualityFactory> listQueryByKeyAndlabIDs(long start, int count, String key, List<Long> listId, 
-			Integer sort,Long systemCid, Integer hasQuan, Integer userType, Integer biz30day, Integer startprice, Integer endprice);
-	public long countQueryKeyAndlabIDs(String key, List<Long> listId, Long systemCid,Integer hasQuan, Integer userType,
-			Integer biz30day,Integer startprice, Integer endprice);
-
-	
-	
-	/**
-	 * 杩斿埄閲戦鏁版嵁鏌ヨ
-	 * @param start
-	 * @param count
-	 * @param proportion
-	 * @param startAmount
-	 * @param endAmount
-	 * @return
-	 */
-	public List<QualityFactory> listQueryByRebateAmount(long start, int count, String proportion, Integer startAmount, Integer endAmount, double tkRate);
-
-	public long countQueryByRebateAmount(String proportion, Integer startAmount, Integer endAmount, double tkRate);
-
-
-	/**
-	 * 浼樻儬鍒告爮鐩� 绮鹃�夊簱姣忔棩鏈�鏂板叆搴撶殑鍟嗗搧 涓斿墠200鏉℃暟鎹紝
-	 * @param start
-	 * @param count
-	 * @return
-	 */
-	public List<QualityFactory> queryToCouponColumn(long start, int count);
-	
-	public long countQueryToCouponColumn();
-
-	
-	/**
-	 * 杩斿埄閲戦鏁版嵁鏌ヨ - 棣栭〉鏈�搴曢儴@鍟嗗搧淇℃伅娴侊細鍒搁潰棰濋珮锛堥珮浜�5鍏冧互涓婏級杩斿埄閲戦楂樼殑锛�2鍏冧互涓婏級锛岃繑鍒╀剑閲戞瘮渚嬮珮鐨勶紙5%浠ヤ笂锛�
-	 * @param start
-	 * @param count
-	 * @param proportion  鍒嗘垚姣斾緥
-	 * @param startAmount  杩斿埄
-	 * @param couponAmount 鍒搁潰棰�
-	 * @param tkRate   浣i噾姣斾緥
-	 * @return
-	 */
-	public List<QualityFactory> listRecommend(long start, int count, Double proportion, Integer startAmount,
-			Integer couponAmount, double tkRate, Double couponRatio);
-	
-	public long countRecommend(Double proportion, Integer startAmount, Integer couponAmount, 
-			double tkRate, Double couponRatio);
-	
-	/**
-	 *  鏍规嵁鍏抽敭璇嶈繘琛屾悳绱㈠晢鍝�-鎼滅储-鎺ㄨ崘
-	 * @param start
-	 * @param count
-	 * @param key 鍏抽敭璇�
-	 * @return
-	 */
-	public List<QualityFactory> listRecommendBykey(long start, int count, String key, Integer hasQuan,
-			Integer userType, Double startprice, Double endprice, Double startTkRate, Double endTkRate, Integer sort);
-	
-	public long countRecommendBykey(String key, Integer hasQuan, Integer userType, 
-			Double startprice, Double endprice, Double startTkRate, Double endTkRate);
-	
-	
-	/**
-	 * 棣栭〉鎺ㄨ崘
-	 * @param start  璧峰浣嶇疆
-	 * @param count  杩斿洖鎬昏鏁�
-	 * @param proportion  璁$畻姣斾緥
-	 * @return
-	 */
-	public JSONArray  getRecommendToIndex(long start, int count, String proportion);
-	
-	public long countRecommendToIndex(String proportion);
-	
-	/**
-	 * 鍗曚釜鍟嗗搧鏍规嵁鏍囩鎺ㄨ崘鍟嗗搧
-	 * @param paramLong
-	 * @param paramString1
-	 * @param paramString2
-	 * @return
-	 */
-	public  List<QualityFactory> recommendByAuctionId(Long paramLong);
-	
-	
-
-	/**
-	 * 鍏嶅崟鍟嗗搧
-	 * @param start
-	 * @param count
-	 * @param tkRate 浣i噾姣斾緥
-	 * @param lableName 鏍囩鍚�
-	 * @return
-	 */
-	public List<QualityFactory> listFreeGoods(long start, int count);
-
-	public long countFreeGoods();
-	
-	/**
-	 * 闄愭椂绉掓潃闅忔満3涓晢鍝�
-	 * @return
-	 */
-	public List<QualityFactory> listFlashSaleRandGoods();
-	
-	
-	/**
-	 * 鏍规嵁搴楅摵id鏌ヨ
-	 * @param start
-	 * @param count
-	 * @param shopId
-	 * @return
-	 */
-	public List<QualityFactory> listByShopId(long start, int count, Long shopId);
-	
-	public long countByShopId(Long shopId);
-	
-	
-	/**
-	 * 9k9绫诲晢鍝佺瓫閫�
-	 * @param start
-	 * @param count
-	 * @param biz30day
-	 * @param zkPrice
-	 * @param minQuanPrice
-	 * @param maxQuanPrice
-	 * @param cids
-	 * @return
-	 */
-	public List<QualityFactory> get9k9ClassGoods(long start, int count, Integer biz30day, BigDecimal zkPrice,
-			BigDecimal minQuanPrice, BigDecimal maxQuanPrice, String cids);
-	
-	public long count9k9ClassGoods(Integer biz30day, BigDecimal zkPrice, BigDecimal minQuanPrice, BigDecimal maxQuanPrice,
-			String cids);
-	
-	
-	/**
-	 * 9k9涓殑姣忔棩蹇呮姠
-	 * @param start
-	 * @param count
-	 * @param zkPrice
-	 * @param minQuanPrice
-	 * @param maxQuanPrice
-	 * @return
-	 */
-	public List<QualityFactory> listQueryEverydayRob(long start, int count, BigDecimal zkPrice, BigDecimal minQuanPrice,
-			BigDecimal maxQuanPrice);
-	
-	public long countQueryEverydayRob(BigDecimal zkPrice, BigDecimal minQuanPrice, BigDecimal maxQuanPrice);
-	
-	/**
-	 * 棣栭〉鎺ㄨ崘
-	 * @param start
-	 * @param count
-	 * @param proportion
-	 * @return
-	 */
-	public JSONArray getRecommendToIndexV2(long start, int count);
-}
+package com.yeshi.fanli.service.inter.lable;
+
+
+import java.math.BigDecimal;
+import java.util.List;
+
+import com.yeshi.fanli.entity.SystemEnum;
+import com.yeshi.fanli.vo.goods.GoodsDetailVO;
+import net.sf.json.JSONArray;
+
+import com.yeshi.fanli.entity.bus.lable.QualityFactory;
+
+public interface QualityGoodsService {
+
+	/**
+	 * 鏍规嵁鍒搁潰棰濇煡璇㈠晢鍝佷俊鎭�
+	 * @param start
+	 * @param count
+	 * @param key
+	 * @param endAmount
+	 * @return
+	 */
+	public List<QualityFactory> listQueryByCouponAmount(long start, int count, Integer key, Integer endAmount, Integer startPropor);
+	public long countQueryByCouponAmount(Integer key, Integer endAmount, Integer startPropor);
+	
+	
+	/**
+	 * 闄愭椂鎶㈣喘鍟嗗搧
+	 * @param start
+	 * @param count
+	 * @param periodtime
+	 * @return
+	 */
+	
+	public List<QualityFactory> listQueryByFlashSale(long start, int count);
+	public long countQueryByFlashSale();
+	
+	
+	/**
+	 * 鏍规嵁鍏抽敭璇嶆悳绱�
+	 * @param start
+	 * @param count
+	 * @param key
+	 * @return
+	 */
+	public List<QualityFactory> listQueryByKey(long start, int count, String key, Integer sort, Long systemCid,Integer hasQuan, Integer userType,
+			Integer biz30day,Integer startprice, Integer endprice);
+	public long countQueryByKey(String key, Long systemCid,Integer hasQuan, Integer userType,
+			Integer biz30day,Integer startprice, Integer endprice);
+
+	
+	/**
+	 * 涓�绾у垎绫绘煡璇㈢簿閫夊簱鏁版嵁
+	 * @param start
+	 * @param count
+	 * @param cid
+	 * @return
+	 */
+	public List<QualityFactory> listQueryByClassId(long start, int count, Long cid);
+
+	public long countQueryClassId(Long cid);
+
+	
+	/**
+	 * 鍏抽敭璇�+鏍囩id鎼滅储鍟嗗搧
+	 * @param start
+	 * @param count
+	 * @param systemCid
+	 * @param key
+	 * @param listId
+	 * @param sort
+	 * @return
+	 */
+	
+	public List<QualityFactory> listQueryByKeyAndlabIDs(long start, int count, String key, List<Long> listId, 
+			Integer sort,Long systemCid, Integer hasQuan, Integer userType, Integer biz30day, Integer startprice, Integer endprice);
+	public long countQueryKeyAndlabIDs(String key, List<Long> listId, Long systemCid,Integer hasQuan, Integer userType,
+			Integer biz30day,Integer startprice, Integer endprice);
+
+	
+	
+	/**
+	 * 杩斿埄閲戦鏁版嵁鏌ヨ
+	 * @param start
+	 * @param count
+	 * @param proportion
+	 * @param startAmount
+	 * @param endAmount
+	 * @return
+	 */
+	public List<QualityFactory> listQueryByRebateAmount(long start, int count, String proportion, Integer startAmount, Integer endAmount, double tkRate);
+
+	public long countQueryByRebateAmount(String proportion, Integer startAmount, Integer endAmount, double tkRate);
+
+
+	/**
+	 * 浼樻儬鍒告爮鐩� 绮鹃�夊簱姣忔棩鏈�鏂板叆搴撶殑鍟嗗搧 涓斿墠200鏉℃暟鎹紝
+	 * @param start
+	 * @param count
+	 * @return
+	 */
+	public List<QualityFactory> queryToCouponColumn(long start, int count);
+	
+	public long countQueryToCouponColumn();
+
+	
+	/**
+	 * 杩斿埄閲戦鏁版嵁鏌ヨ - 棣栭〉鏈�搴曢儴@鍟嗗搧淇℃伅娴侊細鍒搁潰棰濋珮锛堥珮浜�5鍏冧互涓婏級杩斿埄閲戦楂樼殑锛�2鍏冧互涓婏級锛岃繑鍒╀剑閲戞瘮渚嬮珮鐨勶紙5%浠ヤ笂锛�
+	 * @param start
+	 * @param count
+	 * @param proportion  鍒嗘垚姣斾緥
+	 * @param startAmount  杩斿埄
+	 * @param couponAmount 鍒搁潰棰�
+	 * @param tkRate   浣i噾姣斾緥
+	 * @return
+	 */
+	public List<QualityFactory> listRecommend(long start, int count, Double proportion, Integer startAmount,
+			Integer couponAmount, double tkRate, Double couponRatio);
+	
+	public long countRecommend(Double proportion, Integer startAmount, Integer couponAmount, 
+			double tkRate, Double couponRatio);
+	
+	/**
+	 *  鏍规嵁鍏抽敭璇嶈繘琛屾悳绱㈠晢鍝�-鎼滅储-鎺ㄨ崘
+	 * @param start
+	 * @param count
+	 * @param key 鍏抽敭璇�
+	 * @return
+	 */
+	public List<QualityFactory> listRecommendBykey(long start, int count, String key, Integer hasQuan,
+			Integer userType, Double startprice, Double endprice, Double startTkRate, Double endTkRate, Integer sort);
+	
+	public long countRecommendBykey(String key, Integer hasQuan, Integer userType, 
+			Double startprice, Double endprice, Double startTkRate, Double endTkRate);
+	
+	
+	/**
+	 * 棣栭〉鎺ㄨ崘
+	 * @param start  璧峰浣嶇疆
+	 * @param count  杩斿洖鎬昏鏁�
+	 * @param proportion  璁$畻姣斾緥
+	 * @return
+	 */
+	public JSONArray  getRecommendToIndex(long start, int count, String proportion);
+	
+	public long countRecommendToIndex(String proportion);
+	
+	/**
+	 * 鍗曚釜鍟嗗搧鏍规嵁鏍囩鎺ㄨ崘鍟嗗搧
+	 * @param paramLong
+	 * @return
+	 */
+	public  List<QualityFactory> recommendByAuctionId(String paramLong);
+	
+	
+
+	/**
+	 * 鍏嶅崟鍟嗗搧
+	 * @param start
+	 * @param count
+	 * @param tkRate 浣i噾姣斾緥
+	 * @param lableName 鏍囩鍚�
+	 * @return
+	 */
+	public List<QualityFactory> listFreeGoods(long start, int count);
+
+	public long countFreeGoods();
+	
+	/**
+	 * 闄愭椂绉掓潃闅忔満3涓晢鍝�
+	 * @return
+	 */
+	public List<QualityFactory> listFlashSaleRandGoods();
+	
+	
+	/**
+	 * 鏍规嵁搴楅摵id鏌ヨ
+	 * @param start
+	 * @param count
+	 * @param shopId
+	 * @return
+	 */
+	public List<QualityFactory> listByShopId(long start, int count, Long shopId);
+	
+	public long countByShopId(Long shopId);
+	
+	
+	/**
+	 * 9k9绫诲晢鍝佺瓫閫�
+	 * @param start
+	 * @param count
+	 * @param biz30day
+	 * @param zkPrice
+	 * @param minQuanPrice
+	 * @param maxQuanPrice
+	 * @param cids
+	 * @return
+	 */
+	public List<QualityFactory> get9k9ClassGoods(long start, int count, Integer biz30day, BigDecimal zkPrice,
+			BigDecimal minQuanPrice, BigDecimal maxQuanPrice, String cids);
+	
+	public long count9k9ClassGoods(Integer biz30day, BigDecimal zkPrice, BigDecimal minQuanPrice, BigDecimal maxQuanPrice,
+			String cids);
+	
+	
+	/**
+	 * 9k9涓殑姣忔棩蹇呮姠
+	 * @param start
+	 * @param count
+	 * @param zkPrice
+	 * @param minQuanPrice
+	 * @param maxQuanPrice
+	 * @return
+	 */
+	public List<QualityFactory> listQueryEverydayRob(long start, int count, BigDecimal zkPrice, BigDecimal minQuanPrice,
+			BigDecimal maxQuanPrice);
+	
+	public long countQueryEverydayRob(BigDecimal zkPrice, BigDecimal minQuanPrice, BigDecimal maxQuanPrice);
+	
+	/**
+	 * 棣栭〉鎺ㄨ崘
+	 * @param start
+	 * @param count
+	 * @return
+	 */
+	public List<GoodsDetailVO> getRecommendToIndexV2(long start, int count, String platform, String version, SystemEnum system);
+}

--
Gitblit v1.8.0