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);
|
|
}
|