123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175 |
- 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 ISchoolYearServices
- {
-
-
-
-
-
-
-
-
-
- IGridResultSet<SchoolYearView> GetSchoolYearViewGrid(ConfiguretView configuretView, int? isCurrent, int pageIndex, int pageSize);
-
-
-
-
-
- List<SchoolYearView> GetSchoolYearViewList(ConfiguretView configuretView,int? isCurrent);
-
-
-
-
- List<SchoolYearView> GetSchoolYearViewListAfterCurrent();
-
-
-
-
- List<SchoolYearView> GetSchoolYearViewListBeforeCurrent();
-
-
-
-
-
- SchoolYearView GetSchoolYearViewBeforeCurrent();
-
-
-
-
-
- EMIS.Entities.CF_Schoolyear GetSchoolYear(Guid? schoolyearID);
- EMIS.Entities.CF_Schoolyear GetSchoolYearByValue(int value);
-
-
-
-
-
-
- EMIS.Entities.CF_Schoolyear GetSchoolYear(int Years, int SchoolcodeID);
-
-
-
-
-
- EMIS.Entities.CF_Schoolyear GetSchoolYearIsCurrent(bool IsCurrent);
-
-
-
-
-
-
- List<EMIS.Entities.CF_Schoolyear> GetSchoolYearList(Guid? schoolyearID, bool IsCurrent);
-
-
-
-
-
-
- SchoolYearView GetSchoolYearView(Guid? schoolyearID);
-
-
-
-
-
- bool SchoolYearAdd(SchoolYearView schoolyearView);
-
-
-
-
-
- bool SchoolYearUpdate(SchoolYearView schoolyearView);
-
-
-
-
-
- bool SchoolYearDelete(List<Guid> schoolyearIDs);
-
-
-
-
-
-
-
-
- IGridResultSet<SchoolYearView> GetYearsViewGrid(ConfiguretView configuretView, int? isCurrent, int pageIndex, int pageSize);
-
-
-
-
- SchoolYearView GetCurrentSchoolYear();
-
-
-
-
- SchoolYearView GetNextSchoolYear();
-
-
-
- void UpdateCurrentSchoolYear();
- void AutoCreateSchoolyearAndYearsSS();
- void AutoCreateSchoolyearAndYears();
- List<int> GetCurrentSchoolyearWeekNumList();
-
-
-
- List<int> GetSchoolyearWeekNumList(Guid? SchoolYearID);
- List<WeekDayView> GetFutureWeekdayList(int weekNum);
- List<CoursesTimeView> GetFutureCourseTimeList(int weekNum, int weekday);
- bool IsTimePassed(SchoolYearView currentSchoolyear, int? weekNum, int? weekday, int? startHour, int? startMinute);
-
-
-
-
-
-
- List<FullCoursesTimeView> GetCoursesTimeByDateTime(Guid schoolyearID, IList<StartEndTimeView> datetimeList);
-
-
-
-
-
-
- List<StartEndTimeView> GetCoursesTimeByDateTime(Guid schoolyearID, IList<FullCoursesTimeView> coursesTimeList);
- }
- }
|