package com.sy.coinage.workshop.dao;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sy.coinage.core.vo.OptVO;
import com.sy.coinage.sys.model.Dept;
import org.apache.ibatis.annotations.Param;

import com.sy.coinage.workshop.model.*;

import java.util.List;
// import com.sy.coinage.workshop.vo.ProductVO;

/**
 * -产品表Mapper
 */
public interface ProductDao extends BaseMapper<Product> {

    // IPage<ProductVO> queryPageVOList(IPage<ProductVO> page, @Param(Constants.WRAPPER)
    // QueryWrapper<ProductVO> queryWrapper);
    List<OptVO> queryOptList(@Param(Constants.WRAPPER) LambdaQueryWrapper<Product> queryWrapper);

}
