package com.gkhy.exam.system.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gkhy.exam.common.api.CommonPage;
import com.gkhy.exam.system.domain.ExPhaseStudent;
import com.gkhy.exam.system.domain.vo.StudentStudyVO;
import java.util.List;
/**
*
* 课时批次与学员关系表 服务类
*
*
* @author kzy
* @since 2024-06-06 13:53:17
*/
public interface ExPhaseStudentService extends IService {
/**
* 新增批次与学员关系
* @param phaseStudent
* @return
*/
public int addPhaseStudent(ExPhaseStudent phaseStudent);
/**
* 批量新增批次与学员关系
* @param phaseStudents
* @return
*/
public int batchAddPhaseStudent(List phaseStudents);
/**
* 分页获取批次下面的学员
* @return
*/
public CommonPage selectPhaseStudentList(ExPhaseStudent phaseStudent);
/**
* 分页获取学员下的批次列表
* @param phaseStudent
* @return
*/
public CommonPage selectPhaseStudentListForStudent(ExPhaseStudent phaseStudent);
/**
* 删除批次下面的学员
* @param phaseStudentId
* @return
*/
public int deletePhaseStudent(Long phaseStudentId);
/**
* 批量删除批次下面的学员
* @param phaseStudentIds
* @return
*/
public void batchDeletePhaseStudent(List phaseStudentIds);
/**
* 校验学员是否已存在
* @param phaseStudents
*/
public void checkStudentUnique(List phaseStudents);
public List getPhaseStudentById(Long phaseStudentId);
}