package com.mindskip.xzs.service;
|
|
import com.github.pagehelper.PageInfo;
|
import com.mindskip.xzs.base.RestResponse;
|
import com.mindskip.xzs.domain.Subject;
|
import com.mindskip.xzs.domain.vo.SelfPracticeVO;
|
import com.mindskip.xzs.viewmodel.admin.education.SubjectPageRequestVM;
|
|
import java.util.List;
|
|
/**
|
* @author:xp
|
* @date:2024/5/9 16:15
|
*/
|
public interface SelfPracticeService {
|
|
|
/**
|
* 添加个人练习
|
* @param vo
|
* @return
|
*/
|
RestResponse add(SelfPracticeVO vo);
|
|
/**
|
* 分页
|
*
|
* @param query
|
* @return
|
*/
|
RestResponse page(SelfPracticeVO query);
|
|
/**
|
* 删除
|
*
|
* @param ids
|
* @return
|
*/
|
RestResponse remove(List<Integer> ids);
|
|
/**
|
* 开始练习
|
*
|
* @param id
|
* @return
|
*/
|
RestResponse startPractice(Integer id);
|
|
|
/**
|
* 随机一道题
|
*
|
* @param id
|
* @return
|
*/
|
RestResponse randomOneQuestion(Integer id);
|
|
/**
|
* 开始看题
|
*
|
* @param id
|
* @return
|
*/
|
RestResponse startLook(Integer id);
|
}
|