1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using Bowin.Common.Linq.Entity;
- using EMIS.ViewModel.CalendarManage;
- using EMIS.ViewModel;
- using EMIS.Entities;
- namespace EMIS.CommonLogic.CalendarManage
- {
- public interface ICoursesTimeServices
- {
- /// <summary>
- /// 查询课程时间信息
- /// </summary>
- /// <param name="configuretView">查询条件实体</param>
- /// <param name="timesSegment">时间段</param>
- /// <param name="pageIndex">页码</param>
- /// <param name="pageSize">显示页数</param>
- /// <returns></returns>
- IGridResultSet<CoursesTimeView> GetCoursesTimeViewGrid(ConfiguretView configuretView, int? timesSegment, int pageIndex, int pageSize);
- /// <summary>
- /// 查询课程时间信息
- /// </summary>
- /// <param name="configuretView">查询条件实体</param>
- /// <param name="timesSegment">时间段</param>
- /// <returns></returns>
- List<CoursesTimeView> GetCoursesTimeViewList(ConfiguretView configuretView, int? timesSegment);
- /// <summary>
- /// 查询未来时间的课程时间列表
- /// </summary>
- /// <param name="weekNum">指定的周次</param>
- /// <param name="weekday">指定的星期</param>
- /// <returns></returns>
- List<CoursesTimeView> GetCoursesTimeViewFutureList(List<Guid?> educationSchedulingWeekNumIDList, int? weekNum, int? weekday);
- /// <summary>
- /// 获取课程时间信息
- /// </summary>
- /// <param name="coursesTimeID">主键ID</param>
- /// <returns></returns>
- EM_CoursesTime GetCoursesTime(Guid? coursesTimeID);
- /// <summary>
- /// 获取下一堂课的课程时间信息
- /// </summary>
- /// <param name="coursesTimeID">主键ID</param>
- /// <returns></returns>
- CoursesTimeView GetNextCoursesTime(Guid? coursesTimeID);
- /// <summary>
- /// 获取课程时间信息
- /// </summary>
- /// <param name="coursesTimeID">主键ID</param>
- /// <returns></returns>
- CoursesTimeView GetCoursesTimeView(Guid? coursesTimeID);
- /// <summary>
- /// 添加
- /// </summary>
- /// <param name="coursesTime">实体</param>
- /// <returns></returns>
- bool CoursesTimeAdd(CoursesTimeView coursesTimeView);
- /// <summary>
- /// 修改
- /// </summary>
- /// <param name="coursesTime">实体</param>
- /// <returns></returns>
- bool CoursesTimeUpdate(CoursesTimeView coursesTimeView);
- /// <summary>
- /// 删除
- /// </summary>
- /// <param name="coursesTimeIDs"></param>
- /// <returns></returns>
- bool CoursesTimeDelete(List<Guid> coursesTimeIDs);
- }
- }
|