package com.wzj.soopin.goods.business;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wzj.soopin.goods.domain.bo.ProductBo;
import com.wzj.soopin.goods.domain.entity.Product;
import com.wzj.soopin.goods.domain.vo.ProductVO;
import org.dromara.common.web.core.IBusiness;

public interface IProductBusiness extends IBusiness<ProductVO, ProductBo> {
    boolean audit(Long id, Integer authFlag, String reasons);
    boolean publish(Long id, Integer publishStatus);
    /**
     * 获取推荐商品列表
     * @param page
     * @return
     */
    IPage<ProductVO> getRecommendPage(Page<Product> page);

}
