派生自 projectDept/qhighschool

胡仁荣
2022-10-31 fe7381d6e8ec1f427408de0297ac7f41533202f6
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);
 
}