123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using Bowin.Common.Linq.Entity;
- using EMIS.Entities;
- using EMIS.ViewModel;
- using EMIS.ViewModel.UniversityManage.SpecialtyClassManage;
- using EMIS.ViewModel.StudentManage.StudentProfile;
- namespace EMIS.CommonLogic.UniversityManage.SpecialtyClassManage
- {
- public interface IGrademajorServices
- {
- /// <summary>
- /// 查询对应的年级专业信息GrademajorView
- /// </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="inSchoolStatus"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<GrademajorView> GetGrademajorViewGrid(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, int? gradeID, int? standardID, int? educationID,
- int? learningformID, string learnSystem, 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="inSchoolStatus"></param>
- /// <returns></returns>
- IList<GrademajorView> GetGrademajorViewList(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, int? gradeID, int? standardID, int? educationID,
- int? learningformID, string learnSystem, int? inSchoolStatus);
- /// <summary>
- /// 查询对应的年级专业信息GrademajorView(无数据范围)
- /// </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="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<GrademajorView> GetGrademajorViewWithoutRangeGrid(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, int? gradeID, int? standardID,
- int? educationID, int? learningformID, string learnSystem, int pageIndex, int pageSize);
- /// <summary>
- /// 查询年级专业中的专业名称信息FacultymajorView(去重)
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="collegeID"></param>
- /// <param name="gradeID"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<FacultymajorView> GetStandardViewGrid(ConfiguretView configuretView, Guid? collegeID, int? gradeID, int pageIndex, int pageSize);
- /// <summary>
- /// 查询年级专业中的专业名称信息List(去重)
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="collegeID"></param>
- /// <param name="gradeID"></param>
- /// <returns></returns>
- IList<FacultymajorView> GetStandardViewList(ConfiguretView configuretView, Guid? collegeID, int? gradeID);
- /// <summary>
- /// 查询年级专业中的年级信息GrademajorView(去重)
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="collegeID"></param>
- /// <param name="standardID"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<GrademajorView> GetGradeViewGrid(ConfiguretView configuretView, Guid? collegeID, int? standardID, int pageIndex, int pageSize);
- /// <summary>
- /// 查询年级专业中的年级信息List(去重)
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="collegeID"></param>
- /// <param name="standardID"></param>
- /// <returns></returns>
- IList<GrademajorView> GetGradeViewList(ConfiguretView configuretView, Guid? collegeID, int? standardID);
- /// <summary>
- /// 查询对应的年级专业信息CF_Grademajor
- /// </summary>
- /// <param name="grademajorID"></param>
- /// <returns></returns>
- CF_Grademajor GetGrademajorInfo(Guid? grademajorID);
- /// <summary>
- /// 查询对应的年级专业信息GrademajorView
- /// </summary>
- /// <param name="grademajorID"></param>
- /// <returns></returns>
- GrademajorView GetGrademajorView(Guid? grademajorID);
- /// <summary>
- /// 查询对应的年级专业信息List
- /// </summary>
- /// <param name="collegeID"></param>
- /// <param name="gradeID"></param>
- /// <returns></returns>
- IList<GrademajorView> GetGrademajorViewList(Guid? collegeID, int? gradeID);
- /// <summary>
- /// 编辑(新增、修改,业务主键:年级专业编号或年级专业名称唯一)
- /// </summary>
- /// <param name="grademajorView"></param>
- void GrademajorEdit(GrademajorView grademajorView);
- /// <summary>
- /// 批量新增
- /// </summary>
- /// <param name="grademajorView"></param>
- /// <returns></returns>
- int GrademajorBatchAdd(GrademajorView grademajorView);
- /// <summary>
- /// 删除
- /// </summary>
- /// <param name="grademajorIDList"></param>
- /// <returns></returns>
- bool GrademajorDelete(List<Guid?> grademajorIDList);
- /// <summary>
- /// 查询年级专业对应的班级信息ClassmajorView(带对应的在校状态学生人数)
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="grademajorID"></param>
- /// <param name="inSchoolStatus"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<ClassmajorView> GetClassmajorViewGrid(ConfiguretView configuretView, Guid? grademajorID, int? inSchoolStatus, int pageIndex, int pageSize);
- /// <summary>
- /// 查询年级专业对应的班级信息List(带对应的在校状态学生人数)
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="grademajorID"></param>
- /// <param name="inSchoolStatus"></param>
- /// <returns></returns>
- IList<ClassmajorView> GetClassmajorViewList(ConfiguretView configuretView, Guid? grademajorID, int? inSchoolStatus);
- /// <summary>
- /// 查询年级专业对应的学生信息BaseStudentView
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="grademajorID"></param>
- /// <param name="inSchoolStatus"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<StudentBaseView> GetStudentBaseViewGrid(ConfiguretView configuretView, Guid? grademajorID, int? inSchoolStatus, int pageIndex, int pageSize);
- /// <summary>
- /// 查询年级专业对应的学生信息BaseStudentView
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="grademajorID"></param>
- /// <param name="inSchoolStatus"></param>
- /// <returns></returns>
- IList<StudentBaseView> GetStudentBaseViewList(ConfiguretView configuretView, Guid? grademajorID, int? inSchoolStatus);
- /// <summary>
- /// 批量修改(重写)
- /// </summary>
- /// <param name="grademajorIDs"></param>
- /// <param name="schoolyearID"></param>
- /// <param name="schoolcodeID"></param>
- /// <returns></returns>
- string BatchModify(string grademajorIDs, int? gradeID, int? semesterID);
- /// <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 GrademajorImport(Dictionary<string, string> cellheader, out int? inCount, out int? upCount, out List<GrademajorView> errdataList, out int? errCount, string sourcePhysicalPath);
- }
- }
|