qa-prevention-gwj/src/main/java/com/zcloud/service/onlinexxks/CourseStudentRelationServic...

103 lines
2.2 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package com.zcloud.service.onlinexxks;
import com.zcloud.entity.Page;
import com.zcloud.entity.PageData;
import java.util.List;
/**
* 说明:课程学员关系表
* 作者luoxiaobao
* 时间2021-09-10
* 官网www.zcloudchina.com
*/
public interface CourseStudentRelationService{
/**新增
* @param pd
* @throws Exception
*/
public void save(PageData pd)throws Exception;
/**删除
* @param pd
* @throws Exception
*/
public void delete(PageData pd)throws Exception;
/**修改
* @param pd
* @throws Exception
*/
public void edit(PageData pd)throws Exception;
/**列表
* @param page
* @throws Exception
*/
public List<PageData> list(Page page)throws Exception;
/**列表(全部)
* @param pd
* @throws Exception
*/
public List<PageData> listAll(PageData pd)throws Exception;
/**通过id获取数据
* @param pd
* @throws Exception
*/
public PageData findById(PageData pd)throws Exception;
/**批量删除
* @param pd
* @throws Exception
*/
public void deleteAll(PageData pd)throws Exception;
/**列表(根据所选ID获取数据)
* @param pd
* @throws Exception
*/
List<PageData> findByIds(PageData pd)throws Exception;
/**新增(保存课程主表后保存符合人员类别的人员)
* @param pd
* @throws Exception
*/
void saveByCurriculum(PageData pd) throws Exception;
/**批量删除(根据所选的课程进行删除课程学员关系表)
* @param pd
* @throws Exception
*/
public void deleteByCurriculumIds(PageData pd)throws Exception;
/**修改(更新学员状态)
* @param
* @throws Exception
*/
public void updateStudentState(PageData pd)throws Exception;
/**修改(更新学员考试成绩及状态)
* @param
* @throws Exception
*/
public void updateStudentScore(PageData pd)throws Exception;
/**
* 课程结束定时任务处理没有参加考试的学员课程课程结束STUDYSTATE = '4'考试未考COURSEEXAMSTATE = '4'
* @param pd
* @throws Exception
*/
void overCourseNotInvolved(PageData pd)throws Exception;
/**
* 课程结束定时任务处理参加考试的学员课程课程结束STUDYSTATE = '4'
* @param pd
* @throws Exception
*/
void overCourse(PageData pd)throws Exception;
}