using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using Bowin.Common.Linq.Entity; using EMIS.Entities; using EMIS.ViewModel; using EMIS.ViewModel.UniversityManage.TeacherManage; using EMIS.ViewModel.SystemManage.UserManage; namespace EMIS.CommonLogic.UniversityManage.TeacherManage { public interface IStaffServices { /// /// 查询教师信息View /// /// /// /// /// /// /// /// /// /// /// /// /// IGridResultSet GetStaffViewGrid(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, Guid? departmentID, int? isPhoto, int? teacherTypeID, int? incumbencyState, int? titleID, int? isDualTeacher, int pageIndex, int pageSize); /// /// 查询教师信息List /// /// /// /// /// /// /// /// /// /// /// IList GetStaffViewList(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, Guid? departmentID, int? isPhoto, int? teacherTypeID, int? incumbencyState, int? titleID, int? isDualTeacher); /// /// 查询教师信息View /// /// /// /// /// /// /// /// /// IGridResultSet GetStaffViewGrid(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, string loginID, string name, int pageIndex, int pageSize); /// /// 查询教师信息List /// /// /// /// /// /// /// IList GetStaffViewList(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, string loginID, string name); /// /// 查询教师信息View(无数据范围) /// /// /// /// /// /// /// /// /// /// /// /// /// IGridResultSet GetStaffViewGridWithNoDataRange(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, Guid? departmentID, int? isPhoto, int? teacherTypeID, int? incumbencyState, int? titleID, int? isDualTeacher, int pageIndex, int pageSize); /// /// 查询教师信息List(无数据范围) /// /// /// /// /// /// /// /// /// /// /// IList GetStaffViewListWithNoDataRange(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, Guid? departmentID, int? isPhoto, int? teacherTypeID, int? incumbencyState, int? titleID, int? isDualTeacher); /// /// 查询教师信息StaffView(全部) /// /// /// /// /// IGridResultSet GetAllStaffView(ConfiguretView configuretView, int pageIndex, int pageSize); /// /// 查询教师信息List(全部) /// /// /// IList GetAllStaffList(ConfiguretView configuretView); /// /// 查询对应的教师信息StaffView(全部) /// /// List GetListStaffView(); /// /// 查询对应的教师信息CF_Staff(全部) /// /// List GetStaffList(); /// /// 查询对应的教师信息CF_Staff /// /// /// CF_Staff GetStaff(Guid? userID); /// /// 查询对应的教师信息CF_StaffProfile /// /// /// CF_StaffProfile GetStaffProfile(Guid? userID); /// /// 查询对应的教师信息CF_Staff /// /// /// CF_Staff GetStaff(Expression> exp); /// /// 查询对应的教师信息StaffView /// /// /// StaffView GetStaffView(Guid? userID); /// /// 查询对应的教师信息StaffView /// /// /// StaffView GetStaffView(Expression> exp); /// /// 查询对应的教师信息List /// /// /// List GetListStaffView(Guid? userID); /// /// 编辑(新增、修改,业务主键:教职工号或证件号码) /// /// /// void StaffEdit(StaffView staffView, string photoUrl); /// /// 删除 /// /// /// bool StaffDelete(List userIDs); /// /// 验证 /// /// /// /// bool GetVerification(Guid? collegeID, Guid? departmentID); /// /// 删除照片(单个删除) /// /// void DeletePhoto(Guid? userID); /// /// 删除照片(批量删除) /// /// /// bool PicDelete(List userIDs); /// /// 查询教师对应的角色信息UserView /// /// /// /// /// /// /// /// /// IGridResultSet GetRoleListViewGrid(ConfiguretView configuretView, Guid? userID, Guid? roleID, int? dataRange, int? roleStatus, int pageIndex, int pageSize); /// /// 查询教师对应的角色信息List /// /// /// /// /// /// /// IList GetRoleListViewList(ConfiguretView configuretView, Guid? userID, Guid? roleID, int? dataRange, int? roleStatus); /// /// 导入照片 /// /// /// void StaffPicImport(IList photoPaths, string importPicType); /// /// Excel教师信息导入 /// /// /// /// /// /// /// void StaffImport(Dictionary cellheader, out int? inCount, out int? upCount, out List errdataList, out int? errCount, string sourcePhysicalPath); } }