IOpenObjectServices.cs 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using Bowin.Common.Linq.Entity;
  6. using EMIS.ViewModel;
  7. using EMIS.ViewModel.StudentManage.OnlineChecking;
  8. using EMIS.ViewModel.SystemView;
  9. namespace EMIS.CommonLogic.StudentManage.OnlineChecking
  10. {
  11. public interface IOpenObjectServices
  12. {
  13. /// <summary>
  14. /// 查询对应的学生校对控制开放对象信息OpenObjectView
  15. /// </summary>
  16. /// <param name="configuretView"></param>
  17. /// <param name="educationID"></param>
  18. /// <param name="schoolyearNumID"></param>
  19. /// <param name="dateRange"></param>
  20. /// <param name="pageIndex"></param>
  21. /// <param name="pageSize"></param>
  22. /// <returns></returns>
  23. IGridResultSet<OpenObjectView> GetStudentEditObjectViewGrid(ConfiguretView configuretView, int? educationID, int? schoolyearNumID, DateTime? dateRange, int pageIndex, int pageSize);
  24. /// <summary>
  25. /// 查询对应的学生校对控制开放对象信息List
  26. /// </summary>
  27. /// <param name="configuretView"></param>
  28. /// <param name="educationID"></param>
  29. /// <param name="schoolyearNumID"></param>
  30. /// <param name="dateRange"></param>
  31. /// <returns></returns>
  32. IList<OpenObjectView> GetStudentEditObjectViewList(ConfiguretView configuretView, int? educationID, int? schoolyearNumID, DateTime? dateRange);
  33. /// <summary>
  34. /// 查询对应的开放对象信息OpenObjectView
  35. /// </summary>
  36. /// <param name="studentEditObjectID"></param>
  37. /// <returns></returns>
  38. OpenObjectView GetStudentEditObjectView(Guid? studentEditObjectID);
  39. /// <summary>
  40. /// 编辑(新增、修改)
  41. /// </summary>
  42. /// <param name="openObjectView"></param>
  43. void StudentEditObjectEdit(OpenObjectView openObjectView);
  44. /// <summary>
  45. /// 开放对象批量新增
  46. /// </summary>
  47. /// <param name="schoolyearNumIDList"></param>
  48. /// <param name="openObjectView"></param>
  49. /// <returns></returns>
  50. string StudentEditObjectBatchAdd(List<int?> schoolyearNumIDList, OpenObjectView openObjectView);
  51. /// <summary>
  52. /// 查询开放对象中未新增的开放学年信息DictionaryItemView
  53. /// </summary>
  54. /// <param name="configuretView"></param>
  55. /// <param name="educationID"></param>
  56. /// <param name="pageIndex"></param>
  57. /// <param name="pageSize"></param>
  58. /// <returns></returns>
  59. IGridResultSet<DictionaryItemView> GetSchoolyearNumNoAddGrid(ConfiguretView configuretView, int? educationID, int pageIndex, int pageSize);
  60. /// <summary>
  61. /// 查询开放对象中未新增的开放学年信息List
  62. /// </summary>
  63. /// <param name="configuretView"></param>
  64. /// <param name="educationID"></param>
  65. /// <returns></returns>
  66. IList<DictionaryItemView> GetSchoolyearNumNoAddList(ConfiguretView configuretView, int? educationID);
  67. /// <summary>
  68. /// 删除
  69. /// </summary>
  70. /// <param name="studentEditObjectIDs"></param>
  71. /// <returns></returns>
  72. bool StudentEditObjectDelete(List<Guid?> studentEditObjectIDs);
  73. }
  74. }