package com.template.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.template.model.pojo.ActivityReport;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.template.model.vo.ActivityDetailExcelVo;
import com.template.model.vo.AlumniActivityApplyPageVo;
import com.template.model.vo.AlumniMyJoinActivityPageVo;
import com.template.model.vo.UserVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ceshi
 * @since 2024-11-27
 */
@Repository
public interface ActivityReportMapper extends BaseMapper<ActivityReport> {
    List<UserVo> queryReportDatasByActivityId(@Param("activityId") Integer activityId);

    List<ActivityDetailExcelVo> activityDetailByActivityIds(@Param("activityIds") List<Integer> activityIds);

    IPage<AlumniMyJoinActivityPageVo> queryMyJoinActivityPages(IPage<AlumniMyJoinActivityPageVo> page, @Param("userId") Integer userId);

}
