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; namespace EMIS.CommonLogic.SelectCourse { public interface IFreeSelectionCourseServices : IBaseWorkflowServices { /// /// 查询任选课程列表 /// /// 查询条件 /// 专业申请ID /// 课程资料ID /// 学期 /// 开课学期 /// 是否启用 /// 页码 /// 页数 /// IGridResultSet GetFreeSelectionCourseViewGrid(ConfiguretView configuretView, Guid? coursematerialID,Guid? departmentID, int? schoolcodeID, int? starttermID, int? isEnable, int pageIndex, int pageSize); /// /// 查询任选课程列表 /// /// 查询条件 /// 专业申请ID /// 课程资料ID /// 学期 /// 开课学期 /// 是否启用 /// List GetFreeSelectionCourseViewList(ConfiguretView configuretView, Guid? coursematerialID,Guid? departmentID, int? schoolcodeID, int? starttermID, int? isEnable); /// /// 根据ID 查询任选课程对象 /// /// 任选课程ID /// EM_FreeSelectionCouse GetFreeSelectionCourse(Guid? freeSelectionCourseID); /// /// 根据ID 查询任选课程对象 /// /// 任选课程ID /// FreeSelectionCourseView GetFreeSelectionCourseView(Guid? freeSelectionCourseID); /// /// 专业课程教学设置表 /// /// 任选课程ID /// EM_FreeSelectionCouseTeachingSetting GetFreeSelectionCourseTeachingSetting(Guid? freeSelectionCourseID); /// /// 添加 /// /// 任选课程对象 /// 任选课程教学设置表 /// bool FreeSelectionCourseAdd(FreeSelectionCourseView freeSelectionCourseView); /// /// 更新 /// /// 任选课程对象 /// 任选课程教学设置表 /// bool FreeSelectionCourseUpdate(FreeSelectionCourseView freeSelectionCourseView); /// /// 删除 /// /// 删除任选课程ID /// bool FreeSelectionCourseDelete(List freeSelectionCourseIDs); /// /// 根据任选课程获取授课方式 /// /// /// List GetTeachingModeType(Guid? freeSelectionCourseID); /// /// 根据课程查询 /// /// 课程ID /// EM_FreeSelectionCouse GetFreeSelectionCourseCourse(Guid? coursematerialID); void SaveFreeSelectionCourseTeachers(Guid freeSelectionCourseApplyID, IList teacherList); } }