IGraduationSchoolYearServices.cs 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using EMIS.ViewModel;
  6. using Bowin.Common.Linq.Entity;
  7. using EMIS.ViewModel.GraduationManage.GraduationSetting;
  8. namespace EMIS.CommonLogic.GraduationManage.GraduationSetting
  9. {
  10. public interface IGraduationSchoolYearServices
  11. {
  12. /// <summary>
  13. /// 查询毕业学期信息View
  14. /// </summary>
  15. /// <param name="configuretView"></param>
  16. /// <param name="years"></param>
  17. /// <param name="schoolcodeID"></param>
  18. /// <param name="isCurrent"></param>
  19. /// <param name="isEnable"></param>
  20. /// <param name="pageIndex"></param>
  21. /// <param name="pageSize"></param>
  22. /// <returns></returns>
  23. IGridResultSet<GraduationSchoolYearView> GetGradSchoolYearViewGrid(ConfiguretView configuretView, int? years, int? schoolcodeID,
  24. int? isCurrent, int? isEnable, int pageIndex, int pageSize);
  25. /// <summary>
  26. /// 查询毕业学期信息List
  27. /// </summary>
  28. /// <param name="configuretView"></param>
  29. /// <param name="years"></param>
  30. /// <param name="schoolcodeID"></param>
  31. /// <param name="isCurrent"></param>
  32. /// <param name="isEnable"></param>
  33. /// <returns></returns>
  34. IList<GraduationSchoolYearView> GetGradSchoolYearViewList(ConfiguretView configuretView, int? years, int? schoolcodeID,
  35. int? isCurrent, int? isEnable);
  36. /// <summary>
  37. /// 查询对应的毕业学期信息View(根据毕业学期设置信息ID)
  38. /// </summary>
  39. /// <param name="graduationSchoolYearSettingID"></param>
  40. /// <returns></returns>
  41. GraduationSchoolYearView GetGradSchoolYearView(Guid? graduationSchoolYearSettingID);
  42. /// <summary>
  43. /// 编辑(新增、修改,业务主键:毕业学期设置信息ID)
  44. /// 注:判断启用状态(只有一种启用状态)
  45. /// </summary>
  46. /// <param name="graduationSchoolYearView"></param>
  47. void GraduationSchoolYearEdit(GraduationSchoolYearView graduationSchoolYearView);
  48. /// <summary>
  49. /// 删除(注:需对设置的毕业学期进行处理)
  50. /// </summary>
  51. /// <param name="graduationSchoolYearSettingIDs"></param>
  52. /// <returns></returns>
  53. bool GraduationSchoolYearDelete(List<Guid?> graduationSchoolYearSettingIDs);
  54. }
  55. }