package com.winsun.mapper.activity;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.winsun.bean.Page;
import com.winsun.bean.activity.HhrActivity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * 合伙人用户表的Mapper
 */
@Mapper
@Component
public interface ActivityMapper extends BaseMapper<HhrActivity> {

    /**
     * 移动端查询活动列表
     * @param subName
     * @param subClass
     * @param activityType
     * @return
     */
    List<Map<String, Object>> mobileSelectActivityList(RowBounds rowBounds, @Param("subName") String subName,
                                                       @Param("subClass") String subClass, @Param("activityType") String activityType);
}
