package com.kxs.system.biz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.kxs.system.api.model.KxsActivityMarket;
import com.kxs.system.api.vo.kxsapp.activityMarket.ActivityMarketListVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 市场活动信息表(KxsActivityMarket)表数据库访问层
 *
 * @author 系统
 * @since 2023-12-15 12:16:31
 */
@Mapper
public interface KxsActivityMarketMapper extends BaseMapper<KxsActivityMarket> {

    /**
     * 按页获取
     *
     * @param page   页面
     * @param menuId 菜单id
     * @return {@link IPage}<{@link ActivityMarketListVO}>
     */
    IPage<ActivityMarketListVO> getByPage(Page<ActivityMarketListVO> page, @Param("menuId") Integer menuId);
}

