派生自 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
package com.qxueyou.scc.admin.course.service;
 
import java.text.ParseException;
import java.util.List;
 
import com.qxueyou.scc.admin.course.model.CourseSchedule;
import com.qxueyou.scc.base.model.Result;
 
public interface ICourseScheduleService {
    
    /**
     * ÐÂÔö¿Î±í
     * 
     * @param courseSchedule ¿Î±í
     *            
     * @return
     */
    String add(CourseSchedule courseSchedule)  throws Exception;
 
    /**
     * Ð޸Ŀαí
     * 
     * @param courseSchedule ¿Î±í
     * 
     * @return
     */
    Result update(CourseSchedule courseSchedule)  throws Exception;
 
    /**
     * É¾³ý¿Î±í
     * 
     * @param scheduleIds  ¿Î±íIDÊý×é
     *           
     */
    Result delete(String[] scheduleIds);
 
    /**
     * ·¢²¼¿Î±í
     * 
     * @param scheduleIds  ¿Î±íIDÊý×é
     *           
     */
    Result doRelease(String[] scheduleIds);
 
    /**
     * ³·»Ø¿Î±í
     * 
     * @param scheduleIds ¿Î±íidÊý×é
     *            
     */
    Result doCancel(String[] scheduleIds);
 
    /**
     * ²éѯ¿Î±í
     * 
     * @param keyword   ËÑË÷Îı¾(¿Î³ÌÃû³Æ)
     *           
     * @param status  ×´Ì¬
     *           
     * @param pageSize Ò³Âë
     *            
     * @param pageNum   Ã¿Ò³ÏÔʾÐÐÊý
     *           
     * @return ·µ»Ø¿Î³ÌÁбí
     */
    List<CourseSchedule> list(String keyword,Short status,Integer pageSize, Integer pageNum);
 
    /**
     * ²éѯ¿Î±í¸öÊý
     * 
     * @param keyword ËÑË÷Îı¾
     *            
     * @return ·µ»Ø¿Î±í×ÜÊý
     */
    int listCount(String keyword,Short status);
 
    /**
     * ¶ÁÈ¡¿Î±íÏêÇé
     * 
     * @param scheduleId ¿Î±íID
     *            
     * @return ·µ»Ø¿Î±íÁбí
     */
    CourseSchedule detail(String scheduleId);
 
    /**
     * »ñÈ¡¿Î³ÌÁбí
     * @param date
     * @param pageSize
     * @param pageNum
     * @return
     * @throws ParseException
     */
    List<CourseSchedule> listTeacherOfSchedule(String date, Integer pageSize, Integer pageNum) throws Exception;
    
    /**
     * »ñÈ¡¿Î³ÌÁбíÊýÁ¿
     * @param date
     * @param pageSize
     * @param pageNum
     * @return
     * @throws ParseException
     */
    int listTeacherOfScheduleCount(String date, Integer pageSize, Integer pageNum) throws ParseException;
    
    /**
     * »ñȡѧÉú¿Î±íÁбí
     * @param date
     * @param pageSize
     * @param pageNum
     * @return
     * @throws Exception
     */
    List<CourseSchedule> listStudentSchedule(String date, Integer pageSize, Integer pageNum) throws Exception;
    
    /**
     * »ñȡѧÉú¿Î±íÁбíÊýÁ¿
     * @param date
     * @param pageSize
     * @param pageNum
     * @return
     * @throws Exception
     */
    int listStudentScheduleCount(String date, Integer pageSize, Integer pageNum) throws Exception;
    
    /**
     * ²éѯÓпÎÈÕÆÚ±êʶ
     * @param year
     * @param month
     * @return
     */
    List<Integer> queryDateFlag(int year, int month);
 
}