package com.template.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.template.model.pojo.ActivityImage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.template.model.vo.ActivityImageApplyVo;
import com.template.model.vo.ActivityMyImageApplyVo;
import com.template.model.vo.AlumniMyActivityPageVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ceshi
 * @since 2024-11-27
 */
@Repository
public interface ActivityImageMapper extends BaseMapper<ActivityImage> {

    IPage<ActivityImageApplyVo> activityImagePageDatas(IPage<ActivityImageApplyVo> page, @Param("userId") Integer userId);

    IPage<ActivityMyImageApplyVo> activityMyImagePageDatas(IPage<ActivityMyImageApplyVo> page, @Param("userId") Integer userId, @Param("name") String name);

    IPage<ActivityMyImageApplyVo> activityApproveImagePageDatas(IPage<ActivityMyImageApplyVo> page, @Param("userId") Integer userId, @Param("name") String name);
}
