package com.wzj.soopin.content.mapper;


import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wzj.soopin.content.domain.po.Article;
import com.wzj.soopin.content.domain.vo.ArticleVO;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;
import java.util.List;


public interface ArticleMapper extends BaseMapper<Article> {

    ArticleVO selectVoById(Serializable id);
    List<ArticleVO> selectVoList(@Param("ew") Wrapper<Article> queryWrapper);
    Page<ArticleVO> selectVoList(IPage<ArticleVO> page, @Param("ew") Wrapper<Article> queryWrapper);
}
