package org.springblade.gateway.active_gateway.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springblade.core.mp.support.Query;
import org.springblade.gateway.active_gateway.vo.ProductSortVO;
import org.springblade.sing.active.entity.ActiveProductRecord;
import org.springblade.sing.active.entity.ActiveRecord;
import org.springblade.sing.active.vo.ActiveProductRecordVO;

import java.util.List;

public interface ProductSortService {

	/**
	 * 活动排行
	 * @return
	 */
	List<ActiveProductRecordVO> sortList(ProductSortVO productSortVO) throws IllegalAccessException;

	/**
	 * 首页分页获取排行榜数据
	 * @param productSortVO
	 * @param query
	 * @return
	 */
	IPage sortListQuery(ProductSortVO productSortVO, Query query) throws IllegalAccessException;
}
