派生自 projectDept/qhighschool

EricsHu
2022-12-05 068fc7f2e81178e55fa191a13709af64b1a163f6
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
package com.qxueyou.scc.teach.student.service;
 
import java.util.List;
import java.util.Map;
 
import com.qxueyou.scc.base.model.Pager;
import com.qxueyou.scc.base.model.Result;
import com.qxueyou.scc.teach.student.model.StuStudent;
 
public interface IStudentService {
 
    /**
     * 新增学员
     * @param name 学员姓名
     * @param studentNo 学号
     * @param sex 性别,Boolean: 1:男;0:女
     * @param phoneNo 手机号码
     * @return
     */
    Result insertStudent(String classId,String name, String studentNo, boolean sex,String phoneNo, String orgId);
 
    Result insertStudent(String classId,String name, String studentNo, boolean sex,String phoneNo, String orgId,String comName);
 
    /**
     * 获取学员列表
     * @param classId 班级id
     * @param keyword 关键词
     * @param pageNum 页码
     * @param pageSize 每页显示数量
     * @return
     */
    List<Map<String, Object>> getStudentLst(String classId,String keyword, Pager pager);
    Result updateImgStudent(String studentId);
 
    /**
     * 获取学员数量
     * @param classId 班级id
     * @param keyword 关键词
     * @return
     */
    int getStudentsCount(String classId,String keyword);
 
    /**
     * 删除学员
     * @param classId 班级id
     * @param studentIds 学员id
     * @return
     */
    Result deleteStudent(String classId,String[] studentIds);
 
    /**
     * 查看学员
     * @param classId 班级id
     * @param studentId 学员id
     * @return
     */
    Result queryStudent(String classId,String studentId);
 
    /**
     *
     * @param studentIds
     * @return
     */
    Result doActivateStudent(String[] studentIds);
 
    /**
     *
     * @param studentIds
     * @return
     */
    Result doDeActivateStudent(String[] studentIds);
 
    /**
     * 学员学习进度
     *
     * @param classId
     * @param studentId
     * @return
     */
    Result studentProgress(String classId, String studentId);
 
    /**
     * 更新学生信息
     * @param studentId
     * @param name
     * @param password
     * @param studentNo
     * @param sex
     * @param phoneNo
     * @return
     */
    Result updateStudent(String studentId, String name, String password, String studentNo, boolean sex, String phoneNo);
 
    /**
     * 通过用户获取学生信息
     * @param userId
     * @return
     */
    StuStudent getStudentByUserId(String userId);
 
    List<StuStudent> getStudentByclassId(String classId);
 
    StuStudent getStudentByNo(String studentNo);
 
}