
package com.netwisd.biz.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.netwisd.biz.demo.entity.Product;
import com.netwisd.biz.demo.dto.ProductDto;
import com.netwisd.biz.demo.vo.ProductVo;
import org.apache.ibatis.annotations.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
/**
 * @Description 商品
 * @author incoder@netwisd.com
 * @date 2024-04-30 16:07:27
 */
@Mapper
public interface ProductMapper extends BaseMapper<Product> {

    /**
     * 分页查询
     * @param page
     * @param productDto
     * @return
     */
    Page<ProductVo> getPageList(Page page, @Param("productDto") ProductDto productDto);
}
