| | |
| | | long countQueryByFlashSale(); |
| | | |
| | | /** |
| | | * 限时秒杀 随机3个商品 |
| | | * @return |
| | | */ |
| | | List<QualityFactory> listFlashSaleRandGoods(); |
| | | |
| | | /** |
| | | * 返利金额数据查询 |
| | | * |
| | | * @param start |
| | |
| | | List<QualityFactory> listByMinSalesCountOrderByCreateTimeDesc(@Param("salesCount") int salesCount, |
| | | @Param("start") long start, @Param("count") int count); |
| | | |
| | | /** |
| | | * 按最低销量倒叙排列 |
| | | * |
| | | * @param salesCount |
| | | * @param start |
| | | * @param count |
| | | * @return |
| | | */ |
| | | List<QualityFactory> listFreeGoods(@Param("start") long start, @Param("count") int count, |
| | | @Param("tkRate") Double tkRate, @Param("lableName") String lableName); |
| | | |
| | | long countFreeGoods(@Param("tkRate") Double tkRate, @Param("lableName") String lableName); |
| | | |
| | | |
| | | /** |
| | | * 根据店铺信息获取商品 |
| | | * @param start |
| | | * @param count |
| | | * @param shopId |
| | | * @return |
| | | */ |
| | | List<QualityFactory> listByShopId(@Param("start") long start, @Param("count") int count, |
| | | @Param("shopId") Long shopId); |
| | | |
| | | long countByShopId(@Param("shopId") Long shopId); |
| | | |
| | | } |