admin
2020-05-20 98b1a0affd69bbe63223c21fdd2c404e8bedfccb
fanli/src/main/java/com/yeshi/fanli/service/inter/lable/QualityGoodsService.java
@@ -1,6 +1,7 @@
package com.yeshi.fanli.service.inter.lable;
import java.math.BigDecimal;
import java.util.List;
import net.sf.json.JSONArray;
@@ -32,37 +33,6 @@
   public List<QualityFactory> listQueryByFlashSale(long start, int count);
   public long countQueryByFlashSale();
   
   /**
    * 今日必抢 - 9k9
    * @param start
    * @param count
    * @param systemCid
    * @param labId
    * @param sortField
    * @return
    */
   public List<QualityFactory> listQueryEverydayRob(long start, int count, Long cid, Long labId, Integer sortField, Double startCouponAmount, Double endCouponAmount);
   public long countQueryEverydayRob(Long cid, Long labId,Double startCouponAmount,Double endCouponAmount);
   /**
    * 小金额查询:9.9/19.9/29.9/49.9(移动端)
    * @param start
    * @param count
    * @param key
    * @param classId 分类id
    * @param labId  标签id
    * @return
    */
   public List<QualityFactory> listQuerySmallAmount(long start, int count, String key, Long labId, String cids);
   /**
    * 对应小金额查询:9.9/19.9/29.9/49.9
    */
   public long countQuerySmallAmount(String key, Long labId, String cids);
   
   /**
    * 根据关键词搜索
@@ -156,10 +126,10 @@
    * @return
    */
   public List<QualityFactory> listRecommendBykey(long start, int count, String key, Integer hasQuan,
         Integer userType, Double startprice, Double endprice, Integer sort);
         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 startprice, Double endprice, Double startTkRate, Double endTkRate);
   
   
   /**
@@ -169,7 +139,7 @@
    * @param proportion  计算比例
    * @return
    */
   public JSONArray  getRecommendToIndex(long start, int count, String proportion, String fcRate);
   public JSONArray  getRecommendToIndex(long start, int count, String proportion);
   
   public long countRecommendToIndex(String proportion);
   
@@ -181,4 +151,78 @@
    * @return
    */
   public  List<QualityFactory> recommendByAuctionId(Long paramLong);
   /**
    * 免单商品
    * @param start
    * @param count
    * @param tkRate 佣金比例
    * @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,String platform,String version);
}