123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143 |
- 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<EM_FreeSelectionCouseApply>
- {
- /// <summary>
- /// 根据任选开课获取授课方式
- /// </summary>
- /// <param name="freeSelectionCourseApplyID"></param>
- /// <returns></returns>
- List<int> GetCourseApplyTeachingModeType(Guid? freeSelectionCourseApplyID);
- /// <summary>
- /// 根据任选开课获取授课方式
- /// </summary>
- /// <param name="freeSelectionCourseApplyID"></param>
- /// <returns></returns>
- List<int> GetCourseApplyGradeYear(Guid? freeSelectionCourseApplyID);
- /// <summary>
- /// 根据课程查询
- /// </summary>
- /// <param name="coursematerialID">课程ID</param>
- /// <returns></returns>
- EM_FreeSelectionCouse GetFreeSelectionCourseCourse(Guid? coursematerialID);
- /// <summary>
- /// 查询所有开课申请信息
- /// </summary>
- /// <param name="configuretView">查询条件实体</param>
- /// <param name="schoolyearID">学年学期</param>
- /// <param name="campusID">(开课)校区</param>
- /// <param name="collegeID">(开课)院系所</param>
- /// <param name="departmentID">(开课)教研室</param>
- /// <param name="approvalStatus">审批状态</param>
- /// <param name="pageIndex">页码</param>
- /// <param name="pageSize">显示条数</param>
- /// <returns></returns>
- IGridResultSet<FreeSelectionCourseApplyView> GetFreeSelectionCoursePlanViewGrid(ConfiguretView configuretView,
- Guid? schoolyearID, Guid? campusID, Guid? collegeID, Guid? departmentID, int? approvalStatus, int pageIndex, int pageSize);
- /// <summary>
- /// 查询所有开课申请信息
- /// </summary>
- /// <param name="configuretView">查询条件实体</param>
- /// <param name="schoolyearID">学年学期</param>
- /// <param name="campusID">(开课)校区</param>
- /// <param name="collegeID">(开课)院系所</param>
- /// <param name="departmentID">(开课)教研室</param>
- /// <param name="approvalStatus">审批状态</param>
- List<FreeSelectionCourseApplyView> GetFreeSelectionCoursePlanViewList(ConfiguretView configuretView,
- Guid? schoolyearID, Guid? campusID, Guid? collegeID, Guid? departmentID, int? approvalStatus);
- /// <summary>
- /// 获取开课审批信息
- /// </summary>
- /// <param name="configuretView">查询条件实体</param>
- /// <param name="schoolyearID">学年学期</param>
- /// <param name="campusID">(开课)校区</param>
- /// <param name="collegeID">(开课)院系所</param>
- /// <param name="departmentID">(开课)教研室</param>
- /// <param name="approvalStatus">审批状态</param>
- /// <param name="pageIndex">页码</param>
- /// <param name="pageSize">显示条数</param>
- /// <returns></returns>
- IGridResultSet<FreeSelectionCourseApplyView> GetFreeSelectionCoursePlanApprovalViewGrid(ConfiguretView configuretView,
- Guid? schoolyearID, Guid? campusID, Guid? collegeID, Guid? departmentID, int? approvalStatus, int pageIndex, int pageSize);
- /// <summary>
- /// 获取所有开课审批信息
- /// </summary>
- /// <param name="configuretView">查询条件实体</param>
- /// <param name="schoolyearID">学年学期</param>
- /// <param name="campusID">(开课)校区</param>
- /// <param name="collegeID">(开课)院系所</param>
- /// <param name="departmentID">(开课)教研室</param>
- /// <param name="approvalStatus">审批状态</param>
- List<FreeSelectionCourseApplyView> GetFreeSelectionCoursePlanApprovalView(ConfiguretView configuretView,
- Guid? schoolyearID, Guid? campusID, Guid? collegeID, Guid? departmentID, int? approvalStatus);
- /// <summary>
- /// 查询计划申请详细
- /// </summary>
- /// <param name="freeSelectionCourseApplyID">主键ID</param>
- /// <returns></returns>
- FreeSelectionCourseApplyView GetFreeSelectionCourseApplyView(Guid? freeSelectionCourseApplyID);
- /// <summary>
- /// 查询计划申请详细
- /// </summary>
- /// <param name="freeSelectionCourseApplyID">主键ID</param>
- /// <returns></returns>
- EM_FreeSelectionCouseApply GetFreeSelectionCourseApply(Guid? freeSelectionCourseApplyID);
- /// <summary>
- /// 添加
- /// </summary>
- /// <param name="freeSelectionCourseApply">实体</param>
- /// <returns></returns>
- bool FreeSelectionCourseApplyAdd(FreeSelectionCourseApplyView freeSelectionCourseApply, IList<FreeSelectionCourseApplyTeacherListView> teacherList, IList<FreeSelectionCourseApplySpecialtyListView> specialtyList, IList<ExecutableFreeSelectionCouseSchedulingView> schedulingList, out int? type);
- /// <summary>
- /// 更新
- /// </summary>
- /// <param name="freeSelectionCourseApply">实体</param>
- /// <returns></returns>
- bool FreeSelectionCourseApplyUpdate(FreeSelectionCourseApplyView freeSelectionCourseApply, IList<FreeSelectionCourseApplyTeacherListView> teacherList, IList<FreeSelectionCourseApplySpecialtyListView> specialtyList, IList<ExecutableFreeSelectionCouseSchedulingView> schedulingList, out int? type);
- bool FreeSelectionCourseApplyUpdate(IList<FreeSelectionCourseApplyView> freeSelectionCourseApplyList);
- /// <summary>
- /// 删除
- /// </summary>
- /// <param name="freeSelectionCourseApplyIDs">主键ID列表</param>
- /// <returns></returns>
- bool FreeSelectionCourseApplyDelete(List<Guid?> freeSelectionCourseApplyIDs);
- void Submit(List<Guid> freeSelectionCourseApplyIDs, Guid userID, string comment = "");
- Entities.CF_Staff GetStaff(Guid? userID);
- List<FreeSelectionCourseApplyTeacherListView> GetFreeSelectionCourseApplyTeacherListView(Guid freeSelectionCourseApplyID);
- List<SpecialtyView> GetFreeSelectionCourseApplySpecialtyListView(Guid freeSelectionCourseApplyID);
- void SaveFreeSelectionCourseTeachers(Guid freeSelectionCourseApplyID, IList<FreeSelectionCourseApplyTeacherListView> teacherList);
- string DefaultClassNo(Guid SchoolyearID, Guid freeSelectionCourseID, string StartWeeklyNum, string EndWeeklyNum);
- List<ExecutableFreeSelectionCouseSchedulingView> GetSchedulingView(Guid FreeSelectionCouseApplyID);
- }
- }
|