using System; using System.Collections.Generic; using System.Linq; using System.Text; using Bowin.Common.Linq.Entity; using EMIS.ViewModel.SelectCourse; using EMIS.ViewModel; using EMIS.Entities; using EMIS.ViewModel.WorkflowManage; using EMIS.CommonLogic.SystemServices; using EMIS.ViewModel.EnrollManage.SpecialtyManage; namespace EMIS.CommonLogic.SelectCourse { public interface IFreeSelectionCourseApplyServices : IBaseWorkflowServices { /// /// 根据任选开课获取授课方式 /// /// /// List GetCourseApplyTeachingModeType(Guid? freeSelectionCourseApplyID); /// /// 根据任选开课获取授课方式 /// /// /// List GetCourseApplyGradeYear(Guid? freeSelectionCourseApplyID); /// /// 根据课程查询 /// /// 课程ID /// EM_FreeSelectionCouse GetFreeSelectionCourseCourse(Guid? coursematerialID); /// /// 查询所有开课申请信息 /// /// 查询条件实体 /// 学年学期 /// (开课)校区 /// (开课)院系所 /// (开课)教研室 /// 审批状态 /// 页码 /// 显示条数 /// IGridResultSet GetFreeSelectionCoursePlanViewGrid(ConfiguretView configuretView, Guid? schoolyearID, Guid? campusID, Guid? collegeID, Guid? departmentID, int? approvalStatus, int pageIndex, int pageSize); /// /// 查询所有开课申请信息 /// /// 查询条件实体 /// 学年学期 /// (开课)校区 /// (开课)院系所 /// (开课)教研室 /// 审批状态 List GetFreeSelectionCoursePlanViewList(ConfiguretView configuretView, Guid? schoolyearID, Guid? campusID, Guid? collegeID, Guid? departmentID, int? approvalStatus); /// /// 获取开课审批信息 /// /// 查询条件实体 /// 学年学期 /// (开课)校区 /// (开课)院系所 /// (开课)教研室 /// 审批状态 /// 页码 /// 显示条数 /// IGridResultSet GetFreeSelectionCoursePlanApprovalViewGrid(ConfiguretView configuretView, Guid? schoolyearID, Guid? campusID, Guid? collegeID, Guid? departmentID, int? approvalStatus, int pageIndex, int pageSize); /// /// 获取所有开课审批信息 /// /// 查询条件实体 /// 学年学期 /// (开课)校区 /// (开课)院系所 /// (开课)教研室 /// 审批状态 List GetFreeSelectionCoursePlanApprovalView(ConfiguretView configuretView, Guid? schoolyearID, Guid? campusID, Guid? collegeID, Guid? departmentID, int? approvalStatus); /// /// 查询计划申请详细 /// /// 主键ID /// FreeSelectionCourseApplyView GetFreeSelectionCourseApplyView(Guid? freeSelectionCourseApplyID); /// /// 查询计划申请详细 /// /// 主键ID /// EM_FreeSelectionCouseApply GetFreeSelectionCourseApply(Guid? freeSelectionCourseApplyID); /// /// 添加 /// /// 实体 /// bool FreeSelectionCourseApplyAdd(FreeSelectionCourseApplyView freeSelectionCourseApply, IList teacherList, IList specialtyList, IList schedulingList, out int? type); /// /// 更新 /// /// 实体 /// bool FreeSelectionCourseApplyUpdate(FreeSelectionCourseApplyView freeSelectionCourseApply, IList teacherList, IList specialtyList, IList schedulingList, out int? type); bool FreeSelectionCourseApplyUpdate(IList freeSelectionCourseApplyList); /// /// 删除 /// /// 主键ID列表 /// bool FreeSelectionCourseApplyDelete(List freeSelectionCourseApplyIDs); void Submit(List freeSelectionCourseApplyIDs, Guid userID, string comment = ""); Entities.CF_Staff GetStaff(Guid? userID); List GetFreeSelectionCourseApplyTeacherListView(Guid freeSelectionCourseApplyID); List GetFreeSelectionCourseApplySpecialtyListView(Guid freeSelectionCourseApplyID); void SaveFreeSelectionCourseTeachers(Guid freeSelectionCourseApplyID, IList teacherList); string DefaultClassNo(Guid SchoolyearID, Guid freeSelectionCourseID, string StartWeeklyNum, string EndWeeklyNum); List GetSchedulingView(Guid FreeSelectionCouseApplyID); } }