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