123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126 |
- 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.ClassroomManage;
- namespace EMIS.CommonLogic.UniversityManage.ClassroomManage
- {
- public interface IClassroomServices
- {
- /// <summary>
- /// 查询对应的教室信息View
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="campusID"></param>
- /// <param name="buildingsInfoID"></param>
- /// <param name="classroomName"></param>
- /// <param name="classroomTypeID"></param>
- /// <param name="collegeID"></param>
- /// <param name="isConcurrentUse"></param>
- /// <param name="isReserve"></param>
- /// <param name="isAvailable"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<ClassroomView> GetClassroomViewGrid(ConfiguretView configuretView, Guid? campusID, Guid? buildingsInfoID, string classroomName, int? classroomTypeID,
- Guid? collegeID, int? isConcurrentUse, int? isReserve, int? isAvailable, int pageIndex, int pageSize);
- /// <summary>
- /// 查询对应的教室信息List
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="campusID"></param>
- /// <param name="buildingsInfoID"></param>
- /// <param name="classroomName"></param>
- /// <param name="classroomTypeID"></param>
- /// <param name="collegeID"></param>
- /// <param name="isConcurrentUse"></param>
- /// <param name="isReserve"></param>
- /// <param name="isAvailable"></param>
- /// <returns></returns>
- IList<ClassroomView> GetClassroomViewList(ConfiguretView configuretView, Guid? campusID, Guid? buildingsInfoID, string classroomName, int? classroomTypeID,
- Guid? collegeID, int? isConcurrentUse, int? isReserve, int? isAvailable);
- /// <summary>
- /// 查询对应的教室信息CF_Classroom
- /// </summary>
- /// <param name="classroomID"></param>
- /// <returns></returns>
- CF_Classroom GetClassroomInfo(Guid? classroomID);
- /// <summary>
- /// 查询对应的教室信息ClassroomView
- /// </summary>
- /// <param name="classroomID"></param>
- /// <returns></returns>
- ClassroomView GetClassroomView(Guid? classroomID);
- /// <summary>
- /// 编辑(新增、修改,业务主键:教室编号唯一)
- /// </summary>
- /// <param name="classroomView"></param>
- void ClassroomEdit(ClassroomView classroomView);
- /// <summary>
- /// 增加对应的教室类型(根据教室信息ID、教室类型List)
- /// </summary>
- /// <param name="classroomID"></param>
- /// <param name="list"></param>
- /// <returns></returns>
- bool ClassroomModeTypeAdd(Guid? classroomID, List<int> list);
- /// <summary>
- /// 删除
- /// </summary>
- /// <param name="classroomIDList"></param>
- /// <returns></returns>
- bool ClassroomDelete(List<Guid?> classroomIDList);
- /// <summary>
- /// 根据教室信息ID查询对应的教室类型List
- /// </summary>
- /// <param name="classroomID"></param>
- /// <returns></returns>
- List<int> GetClassroomTypeList(Guid? classroomID);
- /// <summary>
- /// 查询教室信息对应的排课分配院系所信息ClassroomView(无数据范围)
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="classroomID"></param>
- /// <param name="campusID"></param>
- /// <param name="collegeID"></param>
- /// <param name="unitCategoryID"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<ClassroomView> GetClassroomCollegeViewGrid(ConfiguretView configuretView, Guid? classroomID, Guid? campusID, Guid? collegeID, int? unitCategoryID, int pageIndex, int pageSize);
- /// <summary>
- /// 查询教室信息对应的排课分配院系所信息List(无数据范围)
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="classroomID"></param>
- /// <param name="campusID"></param>
- /// <param name="collegeID"></param>
- /// <param name="unitCategoryID"></param>
- /// <returns></returns>
- IList<ClassroomView> GetClassroomCollegeViewList(ConfiguretView configuretView, Guid? classroomID, Guid? campusID, Guid? collegeID, int? unitCategoryID);
- /// <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 ClassroomImport(Dictionary<string, string> cellheader, out int? inCount, out int? upCount, out List<ClassroomView> errdataList, out int? errCount, string sourcePhysicalPath);
- }
- }
|