package com.storlead.sales.mapper.customer;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.storlead.sales.pojo.dto.customer.BulletinSearchDTO;
import com.storlead.sales.pojo.entity.customer.BulletinEntity;
import com.storlead.framework.mybatis.mapper.MyBaseMapper;
import com.storlead.sales.pojo.vo.customer.BulletinVO;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 公告主表 Mapper 接口
 * </p>
 *
 * @author YPZ
 * @since 2024-10-25
 */
public interface BulletinMapper extends MyBaseMapper<BulletinEntity> {

    IPage<BulletinVO> listVO(@Param(Constants.WRAPPER) Page<BulletinEntity> objectPage, @Param("param") BulletinSearchDTO bulletinSearchDTO, @Param("userId")Long userId);

}
