123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Data;
- using Bowin.Common.Linq.Entity;
- using EMIS.Utility;
- using EMIS.Entities;
- using EMIS.ViewModel;
- using EMIS.ViewModel.StudentManage.StudentProfile;
- using EMIS.ViewModel.StudentManage.StudentRegister;
- using EMIS.ViewModel.StudentManage.StudentChange;
- using EMIS.CommonLogic.SystemServices;
- namespace EMIS.CommonLogic.StudentManage.StudentProfile
- {
- public interface IStudentServices : IBaseWorkflowServices<CF_DifferentDynamic>
- {
- /// <summary>
- /// 查询对应的学生信息StudentView
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="campusID"></param>
- /// <param name="collegeID"></param>
- /// <param name="gradeID"></param>
- /// <param name="standardID"></param>
- /// <param name="educationID"></param>
- /// <param name="learningformID"></param>
- /// <param name="learnSystem"></param>
- /// <param name="classmajorID"></param>
- /// <param name="isPhoto"></param>
- /// <param name="reportStatus"></param>
- /// <param name="planningGraduateDate"></param>
- /// <param name="inSchoolStatus"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<StudentView> GetStudentViewGrid(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, int? gradeID, int? standardID, int? educationID,
- int? learningformID, string learnSystem, Guid? classmajorID, int? isPhoto, int? reportStatus, string planningGraduateDate, int? inSchoolStatus, int pageIndex, int pageSize);
- /// <summary>
- /// 查询对应的学生信息List
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="campusID"></param>
- /// <param name="collegeID"></param>
- /// <param name="gradeID"></param>
- /// <param name="standardID"></param>
- /// <param name="educationID"></param>
- /// <param name="learningformID"></param>
- /// <param name="learnSystem"></param>
- /// <param name="classmajorID"></param>
- /// <param name="isPhoto"></param>
- /// <param name="reportStatus"></param>
- /// <param name="planningGraduateDate"></param>
- /// <param name="inSchoolStatus"></param>
- /// <returns></returns>
- IList<StudentView> GetStudentViewList(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, int? gradeID, int? standardID, int? educationID,
- int? learningformID, string learnSystem, Guid? classmajorID, int? isPhoto, int? reportStatus, string planningGraduateDate, int? inSchoolStatus);
- /// <summary>
- /// 查询对应的学生信息List(userIDList)
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="campusID"></param>
- /// <param name="collegeID"></param>
- /// <param name="gradeID"></param>
- /// <param name="standardID"></param>
- /// <param name="educationID"></param>
- /// <param name="learningformID"></param>
- /// <param name="learnSystem"></param>
- /// <param name="classmajorID"></param>
- /// <param name="isPhoto"></param>
- /// <param name="reportStatus"></param>
- /// <param name="planningGraduateDate"></param>
- /// <param name="inSchoolStatus"></param>
- /// <param name="userIDList"></param>
- /// <returns></returns>
- IList<StudentView> GetStudentViewList(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, int? gradeID, int? standardID, int? educationID,
- int? learningformID, string learnSystem, Guid? classmajorID, int? isPhoto, int? reportStatus, string planningGraduateDate, int? inSchoolStatus, List<Guid?> userIDList);
- /// <summary>
- /// 查询对应的学生信息List(根据userIDList)
- /// </summary>
- /// <param name="userIDList"></param>
- /// <returns></returns>
- IList<StudentView> GetStudentViewList(List<Guid?> userIDList);
- /// <summary>
- /// 查询对应的学生信息StudentBaseView(全部、在校或非在校信息)
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="userID"></param>
- /// <param name="inSchoolStatus"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<StudentBaseView> GetStudentBaseViewGrid(ConfiguretView configuretView, Guid? userID, int? inSchoolStatus, int pageIndex, int pageSize);
- /// <summary>
- /// 查询对应的学生信息List(全部、在校或非在校信息)
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="userID"></param>
- /// <param name="inSchoolStatus"></param>
- /// <returns></returns>
- IList<StudentBaseView> GetStudentBaseViewList(ConfiguretView configuretView, Guid? userID, int? inSchoolStatus);
- /// <summary>
- /// 查询对应的照片比对学生信息StudentView
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="campusID"></param>
- /// <param name="collegeID"></param>
- /// <param name="gradeID"></param>
- /// <param name="standardID"></param>
- /// <param name="educationID"></param>
- /// <param name="learningformID"></param>
- /// <param name="learnSystem"></param>
- /// <param name="classmajorID"></param>
- /// <param name="isRecruitPhoto"></param>
- /// <param name="isPhoto"></param>
- /// <param name="isGraduationPhoto"></param>
- /// <param name="isPhotoComparison"></param>
- /// <param name="inSchoolStatus"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<StudentView> GetStudentPicComparisonGrid(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, int? gradeID, int? standardID, int? educationID,
- int? learningformID, string learnSystem, Guid? classmajorID, int? isRecruitPhoto, int? isPhoto, int? isGraduationPhoto, int? isPhotoComparison, int? inSchoolStatus, int pageIndex, int pageSize);
- /// <summary>
- /// 查询对应的照片比对学生信息List
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="campusID"></param>
- /// <param name="collegeID"></param>
- /// <param name="gradeID"></param>
- /// <param name="standardID"></param>
- /// <param name="educationID"></param>
- /// <param name="learningformID"></param>
- /// <param name="learnSystem"></param>
- /// <param name="classmajorID"></param>
- /// <param name="isRecruitPhoto"></param>
- /// <param name="isPhoto"></param>
- /// <param name="isGraduationPhoto"></param>
- /// <param name="isPhotoComparison"></param>
- /// <param name="inSchoolStatus"></param>
- /// <returns></returns>
- IList<StudentView> GetStudentPicComparisonList(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, int? gradeID, int? standardID, int? educationID,
- int? learningformID, string learnSystem, Guid? classmajorID, int? isRecruitPhoto, int? isPhoto, int? isGraduationPhoto, int? isPhotoComparison, int? inSchoolStatus);
- /// <summary>
- /// 查询对应的照片比对学生信息List(userIDList)
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="campusID"></param>
- /// <param name="collegeID"></param>
- /// <param name="gradeID"></param>
- /// <param name="standardID"></param>
- /// <param name="educationID"></param>
- /// <param name="learningformID"></param>
- /// <param name="learnSystem"></param>
- /// <param name="classmajorID"></param>
- /// <param name="isRecruitPhoto"></param>
- /// <param name="isPhoto"></param>
- /// <param name="isGraduationPhoto"></param>
- /// <param name="isPhotoComparison"></param>
- /// <param name="inSchoolStatus"></param>
- /// <param name="userIDList"></param>
- /// <returns></returns>
- IList<StudentView> GetStudentPicComparisonList(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, int? gradeID, int? standardID, int? educationID,
- int? learningformID, string learnSystem, Guid? classmajorID, int? isRecruitPhoto, int? isPhoto, int? isGraduationPhoto, int? isPhotoComparison, int? inSchoolStatus, List<Guid?> userIDList);
- /// <summary>
- /// 查询对应的学生信息StudentView
- /// </summary>
- /// <param name="userID"></param>
- /// <returns></returns>
- StudentView GetStudentView(Guid? userID);
- /// <summary>
- /// 编辑(新增、修改,业务主键:学号或考生号唯一)
- /// </summary>
- /// <param name="studentView"></param>
- /// <param name="photoUrl"></param>
- void StudentEdit(StudentView studentView, string photoUrl);
- /// <summary>
- /// 删除
- /// 注:删除成功后,需对相应的录取名单提交状态进行更新(以学号和证件号码进行查询)
- /// </summary>
- /// <param name="userIDs"></param>
- /// <returns></returns>
- bool StudentDelete(List<Guid?> userIDs);
- /// <summary>
- /// 查询对应的学籍异动信息StudentChangeView
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="userID"></param>
- /// <param name="schoolyearID"></param>
- /// <param name="changeTypeID"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<StudentChangeView> GetStudentChangeViewGrid(ConfiguretView configuretView, Guid? userID, Guid? schoolyearID, int? changeTypeID, int pageIndex, int pageSize);
- /// <summary>
- /// 查询对应的学籍异动信息List
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="userID"></param>
- /// <param name="schoolyearID"></param>
- /// <param name="changeTypeID"></param>
- /// <returns></returns>
- IList<StudentChangeView> GetStudentChangeViewList(ConfiguretView configuretView, Guid? userID, Guid? schoolyearID, int? changeTypeID);
- /// <summary>
- /// 查询对应的学籍注册信息StudentReportView
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="userID"></param>
- /// <param name="schoolyearID"></param>
- /// <param name="reportStatus"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<StudentReportView> GetStudentReportViewGrid(ConfiguretView configuretView, Guid? userID, Guid? schoolyearID, int? reportStatus, int pageIndex, int pageSize);
- /// <summary>
- /// 查询对应的学籍注册信息List
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="userID"></param>
- /// <param name="schoolyearID"></param>
- /// <param name="reportStatus"></param>
- /// <returns></returns>
- IList<StudentReportView> GetStudentReportViewList(ConfiguretView configuretView, Guid? userID, Guid? schoolyearID, int? reportStatus);
- /// <summary>
- /// 删除照片(单个删除)
- /// </summary>
- /// <param name="userID"></param>
- void DeletePhoto(Guid? userID);
- /// <summary>
- /// 删除照片(批量删除)
- /// </summary>
- /// <param name="userIDs"></param>
- /// <returns></returns>
- bool PicDelete(List<Guid?> userIDs);
- /// <summary>
- /// 照片比对通过
- /// </summary>
- /// <param name="userIDList"></param>
- /// <returns></returns>
- string StudentPicComparisonPass(List<Guid?> userIDList);
- /// <summary>
- /// 照片比对驳回
- /// </summary>
- /// <param name="userIDList"></param>
- /// <returns></returns>
- string StudentPicComparisonUndo(List<Guid?> userIDList);
- /// <summary>
- /// DBF文件创建
- /// </summary>
- /// <param name="dt"></param>
- /// <param name="colnameList"></param>
- /// <param name="savePath"></param>
- /// <returns></returns>
- string CreateDBFFile(DataTable dt, List<string> colnameList, string savePath = null);
- /// <summary>
- /// 操行录入
- /// </summary>
- /// <param name="userIDs"></param>
- /// <param name="studentConductView"></param>
- /// <returns></returns>
- string StudentConductInput(List<Guid?> userIDs, StudentConductView studentConductView);
- /// <summary>
- /// 毕业证书编号Excel导入
- /// </summary>
- /// <param name="cellheader"></param>
- /// <param name="inCount"></param>
- /// <param name="upCount"></param>
- /// <param name="errdataList"></param>
- /// <param name="errCount"></param>
- /// <param name="sourcePhysicalPath"></param>
- void GraduateNoImport(Dictionary<string, string> cellheader, out int? inCount, out int? upCount, out List<StudentView> errdataList, out int? errCount, string sourcePhysicalPath);
- /// <summary>
- /// 导入学籍照片
- /// </summary>
- /// <param name="photoPaths"></param>
- /// <param name="importPicType"></param>
- /// <param name="inCount"></param>
- /// <param name="errCount"></param>
- /// <param name="errDataTable"></param>
- void StudentPicImport(IList<string> photoPaths, string importPicType, out int? inCount, out int? errCount, out DataTable errDataTable);
- /// <summary>
- /// 导入学历照片
- /// </summary>
- /// <param name="photoPaths"></param>
- /// <param name="importGraPicType"></param>
- void StudentGraPicImport(IList<string> photoPaths, string importGraPicType, out int? inCount, out int? errCount, out DataTable errDataTable);
- /// <summary>
- /// 查询对应的学生照片RemoteFileInfoList
- /// </summary>
- /// <param name="studentViewList"></param>
- /// <param name="exportPicType"></param>
- /// <returns></returns>
- IList<FileUploadHelper.RemoteFileInfo> GetStudentPicRemoteFileInfoList(List<StudentView> studentViewList, string exportPicType);
- /// <summary>
- /// 查询默认的学习形式(个性化配置)
- /// 默认为全部
- /// </summary>
- /// <returns></returns>
- int? GetDefaultLearnformForList();
- /// <summary>
- /// 查询班级信息对应的预计毕业日期DateTime
- /// </summary>
- /// <param name="classmajorID"></param>
- /// <returns></returns>
- DateTime? GetClassmajorPlanningGraduateDate(Guid? classmajorID);
- /// <summary>
- /// 查询年级专业对应的预计毕业日期string
- /// </summary>
- /// <param name="grademajorID"></param>
- /// <returns></returns>
- string GetPlanningGraduateDate(Guid? grademajorID);
- /// <summary>
- /// 查询班级信息对应的毕业学期中的毕业日期DateTime
- /// </summary>
- /// <param name="classmajorID"></param>
- /// <returns></returns>
- DateTime? GetClassmajorGraduateDate(Guid? classmajorID);
- /// <summary>
- /// 查询年级专业对应的毕业学期中的毕业日期string
- /// </summary>
- /// <param name="grademajorID"></param>
- /// <returns></returns>
- string GetGraduateDate(Guid? grademajorID);
- /// <summary>
- /// 查询对应的学生预计毕业日期
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<StudentView> GetStudentPlanningGraduateDateGrid(ConfiguretView configuretView, int pageIndex, int pageSize);
- /// <summary>
- /// 查询对应的学生预计毕业日期List
- /// </summary>
- /// <param name="configuretView"></param>
- /// <returns></returns>
- IList<StudentView> GetStudentPlanningGraduateDateList(ConfiguretView configuretView);
- /// <summary>
- /// 查询对应的数据范围ID
- /// </summary>
- /// <returns></returns>
- int? GetDataRangeID();
- /// <summary>
- /// 学生信息Excel导入
- /// </summary>
- /// <param name="cellheader"></param>
- /// <param name="inCount"></param>
- /// <param name="upCount"></param>
- /// <param name="errdataList"></param>
- /// <param name="errCount"></param>
- /// <param name="sourcePhysicalPath"></param>
- void StudentImport(Dictionary<string, string> cellheader, out int? inCount, out int? upCount, out List<StudentView> errdataList, out int? errCount, string sourcePhysicalPath);
- /// <summary>
- /// 学生信息新增刷新相关业务处理
- /// </summary>
- /// <param name="userID"></param>
- void StudentOnAddRefresh(List<Guid> userID);
- }
- }
|