123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156 |
- 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.TeacherManage;
- namespace EMIS.CommonLogic.UniversityManage.AdministrativeOrgan
- {
- public interface IDepartmentServices
- {
- /// <summary>
- /// 查询部门信息View
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="campusID"></param>
- /// <param name="collegeID"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<DepartmentView> GetDepartmentViewGrid(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, int pageIndex, int pageSize);
- /// <summary>
- /// 查询部门信息List
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="campusID"></param>
- /// <param name="collegeID"></param>
- /// <returns></returns>
- IList<DepartmentView> GetDepartmentViewList(ConfiguretView configuretView, Guid? campusID, Guid? collegeID);
- /// <summary>
- /// 查询部门信息View(无数据范围)
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="campusID"></param>
- /// <param name="collegeID"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<DepartmentView> GetDepartmentViewWithoutRange(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, int pageIndex, int pageSize);
- /// <summary>
- /// 根据院系所信息ID查询对应的部门信息CF_Department(带数据范围)
- /// </summary>
- /// <param name="collegeID"></param>
- /// <returns></returns>
- List<CF_Department> GetDepartmentList(Guid? collegeID);
- /// <summary>
- /// 根据院系所信息ID查询对应的部门信息CF_Department(无数据范围)
- /// </summary>
- /// <param name="campusID"></param>
- /// <returns></returns>
- List<CF_Department> GetAllDepartmentList(Guid? collegeID);
- /// <summary>
- /// 查询全部部门信息DepartmentView(带数据范围)
- /// </summary>
- /// <returns></returns>
- List<DepartmentView> GetDepartmentList();
- /// <summary>
- /// 查询全部部门信息DepartmentView(无数据范围)
- /// </summary>
- /// <returns></returns>
- List<DepartmentView> GetDepartmentViewListWithoutDataRange();
- /// <summary>
- /// 查询对应的部门信息CF_Department
- /// </summary>
- /// <param name="departmentID"></param>
- /// <returns></returns>
- CF_Department GetDepartmentInfo(Guid? departmentID);
- /// <summary>
- /// 查询对应的部门信息DepartmentView
- /// </summary>
- /// <param name="departmentID"></param>
- /// <returns></returns>
- DepartmentView GetDepartmentView(Guid? departmentID);
- /// <summary>
- /// 编辑(新增、修改,业务主键:部门代码或部门名称)
- /// </summary>
- /// <param name="departmentView"></param>
- void DepartmentEdit(DepartmentView departmentView);
- /// <summary>
- /// 删除
- /// </summary>
- /// <param name="departmentIDList"></param>
- /// <returns></returns>
- bool DepartmentDelete(List<Guid?> departmentIDList);
- /// <summary>
- /// 期末、补考设定教研室查询
- /// </summary>
- /// <param name="ClassmajorID"></param>
- /// <param name="CoursematerialID"></param>
- /// <returns></returns>
- string GetDepartmentListForExamination(Guid? ClassmajorID, Guid? CoursematerialID);
- /// <summary>
- /// HRService工作流平台
- /// </summary>
- void SynHRServices();
- /// <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>
- /// 部门信息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 DepartmentImport(Dictionary<string, string> cellheader, out int? inCount, out int? upCount, out List<DepartmentView> errdataList, out int? errCount, string sourcePhysicalPath);
- }
- }
|