| | |
| | | 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 {
|
| | |
|
| | |
| | | */
|
| | | 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;
|
| | |
|
| | | /**
|
| | | * 批量设置权重 + 随机权重
|
| | |
| | | */
|
| | | 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;
|
| | |
|
| | | }
|