package com.gkhy.exam.system.service;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.gkhy.exam.system.domain.ExStudentStudy;
|
import com.gkhy.exam.system.domain.vo.StudentStudyVO;
|
|
import java.util.List;
|
|
/**
|
* <p>
|
* 课程学习学习日志表 服务类
|
* </p>
|
*
|
* @author kzy
|
* @since 2024-06-06 13:53:17
|
*/
|
public interface ExStudentStudyService extends IService<ExStudentStudy> {
|
|
/**
|
* 新增学习日志
|
*
|
* @param studentStudy 学习日志信息
|
* @return 结果
|
*/
|
public Long insertStudentStudy(ExStudentStudy studentStudy);
|
|
|
/**
|
* 删除学习日志
|
*
|
* @param studyId 学习日志ID
|
* @return 结果
|
*/
|
public int deleteStudentStudyById(Long studyId);
|
|
/**
|
* 根据批次id和学员id查询学员学习记录
|
* @param phaseId
|
* @param studentId
|
* @return
|
*/
|
public List<StudentStudyVO> selectStudyByPhaseAndStundentId(Long phaseId, Long studentId);
|
|
/**
|
* 上报学习进度
|
* @param studentStudy
|
* @return
|
*/
|
void progress(ExStudentStudy studentStudy);
|
}
|