package com.template.services;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.template.model.pojo.AlumniActivity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.template.model.result.PageUtils;
import com.template.model.vo.AlumniActivityApplyPageVo;
import com.template.model.vo.AlumniActivityPageVo;
import com.template.model.vo.AlumniMyActivityPageVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author ceshi
 * @since 2024-11-27
 */
public interface AlumniActivityService extends IService<AlumniActivity> {
    int insertAlumniActivity(AlumniActivity au);

    int updateAlumniActivity(AlumniActivity au);

    AlumniActivity queryDataById(Integer id);

    int deleteDataById(Integer id);

    PageUtils<AlumniActivityPageVo> queryActivityPages(int currentPage, int pageCount, String userName,Integer collegeId, Integer periodId, Integer majorId, Integer classId, String orgName, String theme, String stateStr,String createStartTime, String createEndTime, String startTime, String endTime, String signsTime, String signeTime);

    PageUtils<AlumniActivityApplyPageVo> queryActivityApplyPages(int currentPage, int pageCount, Integer userId,String userName, Integer collegeId, Integer periodId, Integer majorId, Integer classId, String orgName, String theme, Integer isPass, String createStartTime, String createEndTime, String startTime, String endTime, String signsTime, String signeTime);

    PageUtils<AlumniMyActivityPageVo> queryMyActivityPages(int currentPage, int pageCount, Integer userId, Integer isPass);

    PageUtils<AlumniMyActivityPageVo> queryMyActivityApplyPages(int currentPage, int pageCount, Integer userId, String keyword);

    PageUtils<AlumniMyActivityPageVo> queryApproveActivityApplyPages(int currentPage, int pageCount, Integer userId, String userName);
}
