123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using Bowin.Common.Linq.Entity;
- using EMIS.ViewModel.ScoreManage;
- using EMIS.ViewModel;
- using EMIS.Entities;
- using EMIS.ViewModel.Students;
- using EMIS.CommonLogic.SystemServices;
- namespace EMIS.CommonLogic.ScoreManage
- {
- public interface IFinalExaminationServices : IBaseWorkflowServices<ER_FinalExamination>
- {
- /// <summary>
- /// 查询期末设定
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="collegeID"></param>
- /// <param name="departmentID"></param>
- /// <param name="schoolyearID"></param>
- /// <param name="coursematerialID"></param>
- /// <param name="courseTypeID"></param>
- /// <param name="courseQualityID"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<FinalExaminationView> GetFinalExaminationViewGrid(ConfiguretView configuretView, Guid? collegeID,
- Guid? departmentID, Guid? schoolyearID, Guid? coursematerialID, int? courseTypeID, int? examsCategoryID, int? examinationType, int? approvalStatus, int? gradeYearID, int pageIndex, int pageSize);
- List<FinalExaminationView> GetFinalExaminationViewList_Excel(ConfiguretView configuretView, Guid? collegeID,
- Guid? departmentID, Guid? schoolyearID, Guid? coursematerialID, int? courseTypeID, int? examsCategoryID, int? examinationType, int? approvalStatus, int? gradeYearID, List<Guid?> FinalExaminationIDList);
- /// <summary>
- /// 查询期末设定
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="collegeID"></param>
- /// <param name="departmentID"></param>
- /// <param name="schoolyearID"></param>
- /// <param name="coursematerialID"></param>
- /// <param name="courseTypeID"></param>
- /// <param name="courseQualityID"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- List<FinalExaminationView> GetFinalExaminationViewList(ConfiguretView configuretView, Guid? collegeID,
- Guid? departmentID, Guid? schoolyearID, Guid? coursematerialID, int? courseTypeID, int? examsCategoryID, int? examinationType, int? approvalStatus);
- /// <summary>
- /// 查询考试设定相关学生明细表,按兵良要求,暂时用于补考设定学生明细导出功能
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="collegeID"></param>
- /// <param name="departmentID"></param>
- /// <param name="schoolyearID"></param>
- /// <param name="coursematerialID"></param>
- /// <param name="courseTypeID"></param>
- /// <param name="examsCategoryID"></param>
- /// <param name="examinationType"></param>
- /// <param name="approvalStatus"></param>
- /// <returns></returns>
- List<ViewModel.ScoreManage.ResitStudentView> GetFinalExaminationStudentDetailsList(ViewModel.ConfiguretView configuretView, Guid? collegeID, Guid? departmentID, Guid? schoolyearID, Guid? coursematerialID, int? courseTypeID, int? examsCategoryID, int? examinationType, int? approvalStatus, int? gradeYearID, List<Guid?> FinalExaminationIDList);
- /// <summary>
- /// 查询期末设定实体
- /// </summary>
- /// <param name="finalExaminationID"></param>
- /// <returns></returns>
- FinalExaminationView GetFinalExaminationView(Guid? finalExaminationID);
- /// <summary>
- /// 查询期末设定实体
- /// </summary>
- /// <param name="finalExaminationID"></param>
- /// <returns></returns>
- ER_FinalExamination GetFinalExamination(Guid? finalExaminationID);
- /// <summary>
- /// 添加
- /// </summary>
- /// <param name="finalExaminationView"></param>
- void FinalExaminationAdd(FinalExaminationView finalExaminationView, List<Guid?> ClassmajorIDList);
- /// <summary>
- /// 删除
- /// </summary>
- /// <param name="finalExaminationIDs"></param>
- void FinalExaminationDelete(List<Guid?> finalExaminationIDs);
- /// <summary>
- /// 根据教学任务生成期末设定
- /// </summary>
- void GenerateFinalExamination(Guid? schoolyearID, Guid? collegeID, int? gradeID, int? standardID, bool isGenerateNotSubmit);
- /// <summary>
- /// 获取期末设定学生
- /// </summary>
- /// <param name="finalExaminationID"></param>
- /// <returns></returns>
- IGridResultSet<BaseStudentView> GetFinalExaminationStudent(Guid? finalExaminationID);
- /// <summary>
- /// 获取期末设定学生(添加学生时用)
- /// </summary>
- /// <param name="finalExaminationID"></param>
- /// <returns></returns>
- BaseStudentView GetFinalExaminationStudentForStudentAdd(Guid? finalExaminationID, Guid? userID);
- /// <summary>
- /// 添加期末设定学生
- /// </summary>
- /// <param name="finalExaminationID"></param>
- /// <param name="userIDs"></param>
- void FinalExaminationStudentAdd(Guid? finalExaminationID, List<BaseStudentView> listBaseStudentView);
- /// <summary>
- /// 期末生成
- /// </summary>
- void GenerateResitExamination(Guid? schoolyearID, Guid? collegeID, int? gradeID, int? standardID, Guid? classmajorID);
- /// <summary>
- /// 毕业生成
- /// </summary>
- /// <param name="year"></param>
- void GenerateGraduationExam(int? year, Guid? collegeID, int? standardID, Guid? classmajorID, decimal? learnSystem);
- /// <summary>
- /// 更新 是否可录入字段
- /// </summary>
- /// <param name="finalExaminationIDs"></param>
- void GetFinal_ResitExaminationIsEntry(List<Guid> finalExaminationIDs);
- /// <summary>
- /// 查找默认开课学期
- /// </summary>
- /// <param name="finalExaminationID"></param>
- /// <param name="UserID"></param>
- /// <returns></returns>
- FinalExaminationView GetStarttermID(Guid? finalExaminationID, Guid? UserID);
- /// <summary>
- /// 添加学生
- /// </summary>
- /// <param name="finalExaminationView"></param>
- void StudentAdd(FinalExaminationView finalExaminationView);
- /// <summary>
- /// 删除学生
- /// </summary>
- /// <param name="finalExaminationID"></param>
- /// <param name="UserID"></param>
- void FinalExaminationStudentDelete(Guid finalExaminationID, List<Guid?> UserID);
- /// <summary>
- /// 撤销录入
- /// </summary>
- /// <param name="finalExaminationIDs"></param>
- void GetFinal_ResitExaminationBack(List<Guid> finalExaminationIDs);
- /// <summary>
- /// 撤销录入
- /// </summary>
- /// <param name="finalExaminationIDs"></param>
- //string CanBatchEdit(List<Guid?> finalExaminationIDs);
- }
- }
|