package com.guo.learningprogresstracker.service; import com.guo.learningprogresstracker.dto.response.StudySessionResponce; import com.guo.learningprogresstracker.entity.StudySessionsEntity; import com.baomidou.mybatisplus.extension.service.IService; import com.guo.learningprogresstracker.exception.ErrorParameterException; import java.util.ArrayList; /** * @author guo * @description 针对表【study_sessions(记录每次学习会话的具体数据)】的数据库操作Service * @createDate 2024-06-09 15:28:48 */ public interface StudySessionsService extends IService { StudySessionResponce getNotEndedStudySessionByTaskNum(String taskNum) throws ErrorParameterException; ArrayList getAllFragments(String sessionNum) throws ErrorParameterException; void endedStudySession(String sessionNum, String content) throws ErrorParameterException; void pauseStudySession(String sessionNum) throws ErrorParameterException; }