xiangpei
2025-05-14 47cd9ecc0eff38ffe6b3b794b2bf197e958f4403
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
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);
}