package cn.stylefeng.team.portal.modular.management.mapper;

import cn.stylefeng.team.portal.modular.management.entity.PortalNews;
import cn.stylefeng.team.portal.modular.management.pojo.request.PortalNewsRequest;
import cn.stylefeng.team.portal.modular.management.pojo.response.PortalNewsVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PortalNewsMapper extends BaseMapper<PortalNews> {

    List<PortalNewsVo> customFindList(@Param("page") Page page, @Param("param")PortalNewsRequest request);

}
