123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207 |
- 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.AdministrativeOrgan;
- using EMIS.ViewModel.UniversityManage.SpecialtyClassManage;
- using EMIS.ViewModel.UniversityManage.TeacherManage;
- namespace EMIS.CommonLogic.UniversityManage.AdministrativeOrgan
- {
- public interface ICollegeServices
- {
- /// <summary>
- /// 查询院系所信息View
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="campusID"></param>
- /// <param name="unitCategoryID"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<CollegeView> GetCollegeViewGrid(ConfiguretView configuretView, Guid? campusID, int? unitCategoryID, int pageIndex, int pageSize);
- /// <summary>
- /// 查询院系所信息List
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="campusID"></param>
- /// <param name="unitCategoryID"></param>
- /// <returns></returns>
- IList<CollegeView> GetCollegeViewList(ConfiguretView configuretView, Guid? campusID, int? unitCategoryID);
- /// <summary>
- /// 查询院系所信息View(只显示院、系、部类别的院系所)
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="campusID"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<CollegeView> GetOnlyCollegeViewList(ConfiguretView configuretView, Guid? campusID, int pageIndex, int pageSize);
- /// <summary>
- /// 查询院系所信息View(无数据范围)
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="campusID"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<CollegeView> GetCollegeViewWithoutRange(ConfiguretView configuretView, Guid? campusID, int pageIndex, int pageSize);
- /// <summary>
- /// 根据校区信息ID查询对应的院系所信息CF_College(带数据范围)
- /// </summary>
- /// <param name="campusID"></param>
- /// <returns></returns>
- List<CF_College> GetCollegeList(Guid? campusID);
- /// <summary>
- /// 根据校区信息ID查询对应的院系所信息CF_College(无数据范围)
- /// </summary>
- /// <param name="campusID"></param>
- /// <returns></returns>
- List<CF_College> GetAllCollegeList(Guid? campusID);
- /// <summary>
- /// 查询全部院系所信息CollegeView(带数据范围)
- /// </summary>
- /// <returns></returns>
- List<CollegeView> GetCollegeList();
- /// <summary>
- /// 查询全部院系所信息CollegeView(只显示院、系、部类别的院系所,带数据范围)
- /// </summary>
- /// <returns></returns>
- List<CollegeView> GetOnlyCollegeList();
- /// <summary>
- /// 查询全部院系所信息CollegeView(无数据范围)
- /// </summary>
- /// <returns></returns>
- List<CollegeView> GetCollegeViewListWithoutDataRange();
- /// <summary>
- /// 查询对应的院系所信息CF_College
- /// </summary>
- /// <param name="collegeID"></param>
- /// <returns></returns>
- CF_College GetCollegeInfo(Guid? collegeID);
- /// <summary>
- /// 查询对应的院系所信息CollegeView
- /// </summary>
- /// <param name="collegeID"></param>
- /// <returns></returns>
- CollegeView GetCollegeView(Guid? collegeID);
- /// <summary>
- /// 编辑(新增、修改,业务主键:院系所代码或院系所名称)
- /// </summary>
- /// <param name="collegeView"></param>
- void CollegeEdit(CollegeView collegeView);
- /// <summary>
- /// 删除
- /// </summary>
- /// <param name="collegeIDList"></param>
- /// <returns></returns>
- bool CollegeDelete(List<Guid?> collegeIDList);
- /// <summary>
- /// 查询院系所对应的教研室信息DepartmentView
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="collegeID"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<DepartmentView> GetDepartmentListViewGrid(ConfiguretView configuretView, Guid? collegeID, int pageIndex, int pageSize);
- /// <summary>
- /// 查询院系所对应的教研室信息List
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="collegeID"></param>
- /// <returns></returns>
- IList<DepartmentView> GetDepartmentListViewList(ConfiguretView configuretView, Guid? collegeID);
- /// <summary>
- /// 查询院系所对应的教师信息StaffView
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="collegeID"></param>
- /// <param name="departmentID"></param>
- /// <param name="isPhoto"></param>
- /// <param name="teacherTypeID"></param>
- /// <param name="incumbencyState"></param>
- /// <param name="titleID"></param>
- /// <param name="isDualTeacher"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<StaffView> GetStaffListViewGrid(ConfiguretView configuretView, Guid? collegeID, Guid? departmentID, int? isPhoto, int? teacherTypeID, int? incumbencyState, int? titleID, int? isDualTeacher, int pageIndex, int pageSize);
- /// <summary>
- /// 查询院系所对应的教师信息List
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="collegeID"></param>
- /// <param name="departmentID"></param>
- /// <param name="isPhoto"></param>
- /// <param name="teacherTypeID"></param>
- /// <param name="incumbencyState"></param>
- /// <param name="titleID"></param>
- /// <param name="isDualTeacher"></param>
- /// <returns></returns>
- IList<StaffView> GetStaffListViewList(ConfiguretView configuretView, Guid? collegeID, Guid? departmentID, int? isPhoto, int? teacherTypeID, int? incumbencyState, int? titleID, int? isDualTeacher);
- /// <summary>
- /// 查询院系所对应的院系专业信息FacultymajorView
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="collegeID"></param>
- /// <param name="standardID"></param>
- /// <param name="educationID"></param>
- /// <param name="learningformID"></param>
- /// <param name="learnSystem"></param>
- /// <param name="scienceclassID"></param>
- /// <param name="inSchoolStatus"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<FacultymajorView> GetFacultymajorListViewGrid(ConfiguretView configuretView, Guid? collegeID, int? standardID, int? educationID, int? learningformID,
- string learnSystem, int? scienceclassID, int? inSchoolStatus, int pageIndex, int pageSize);
- /// <summary>
- /// 查询院系所对应的院系专业信息List
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="collegeID"></param>
- /// <param name="standardID"></param>
- /// <param name="educationID"></param>
- /// <param name="learningformID"></param>
- /// <param name="learnSystem"></param>
- /// <param name="scienceclassID"></param>
- /// <param name="inSchoolStatus"></param>
- /// <returns></returns>
- IList<FacultymajorView> GetFacultymajorListViewList(ConfiguretView configuretView, Guid? collegeID, int? standardID, int? educationID, int? learningformID,
- string learnSystem, int? scienceclassID, int? inSchoolStatus);
- /// <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 CollegeImport(Dictionary<string, string> cellheader, out int? inCount, out int? upCount, out List<CollegeView> errdataList, out int? errCount, string sourcePhysicalPath);
- }
- }
|