package com.cslg.ppa.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cslg.ppa.dto.OneClickExportDTO;
import com.cslg.ppa.dto.SelectArticleInfoDTO;
import com.cslg.ppa.entity.ArticleInfo;
import com.cslg.ppa.vo.OneClickExportVO;
import com.cslg.ppa.vo.SelectArticleInfoVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ArticleInfoMapper extends BaseMapper<ArticleInfo> {

    List<SelectArticleInfoVO> selectArticleInfoList(@Param("vo") SelectArticleInfoDTO vo);

    Long selectArticleInfoCount(@Param("vo") SelectArticleInfoDTO vo);

    List<OneClickExportVO> selectArticleList(@Param("vo") OneClickExportDTO vo);
}
