IStudentsServices.cs 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using EMIS.ViewModel.Specialtyclass;
  6. using Bowin.Common.Linq.Entity;
  7. using EMIS.ViewModel;
  8. using EMIS.Entities;
  9. using EMIS.ViewModel.Students;
  10. using System.Data;
  11. using System.ServiceModel;
  12. using System.ServiceModel.Web;
  13. using System.IO;
  14. using EMIS.ViewModel.SystemView;
  15. namespace EMIS.CommonLogic.Students
  16. {
  17. public interface IStudentsServices
  18. {
  19. /// <summary>
  20. /// 获取列表
  21. /// </summary>
  22. /// <returns></returns>
  23. Bowin.Common.Linq.Entity.IGridResultSet<StudentsView> GetStudentUserViewList(ViewModel.ConfiguretView configuretView,
  24. int? campusID, Guid? collegeID, int? yearID, int? standardID, int? learningformID, Guid? classmajorID, int? IsGraduation, int? inSchoolStatusID, int? isPhotos, int? isDream, string planningGraduateDate,string LearnSystem,int? education,int? reportStatusID, int pageIndex, int pageSize);
  25. /// <summary>
  26. /// 导出
  27. /// </summary>
  28. /// <returns></returns>
  29. IList<StudentsView> GetStudentViewList(ViewModel.ConfiguretView configuretView,
  30. int? campusID, Guid? collegeID, int? yearID, int? standardID, int? learningformID, Guid? classmajorID, int? IsGraduation, int? inSchoolStatusID, int? isPhotos, int? isDream, string planningGraduateDate, string LearnSystem, int? education, int? reportStatusID, List<Guid?> UserIDsIDList);
  31. IList<StudentsView> GetStudentExportList(ViewModel.ConfiguretView configuretView,
  32. int? campusID, Guid? collegeID, int? years, int? standardID, int? learningformID, Guid? classmajorID, int? IsGraduation, int? inSchoolStatusID, int? isPhotos, int? isDream, string planningGraduateDate, string LearnSystem, int? education, int? reportStatusID);
  33. void WriteToDbf(DataTable dt, List<string> colList);
  34. IList<StudentsView> GetStudentViewListByIDList(IList<Guid?> studentUserIDList);
  35. /// <summary>
  36. /// 获取可进行异动申请的学生。
  37. /// </summary>
  38. /// <returns></returns>
  39. IGridResultSet<StudentsView> GetAbleDifferentDynamicApplyStudentList(ConfiguretView configuretView, int pageIndex, int pageSize);
  40. //<summary>
  41. //获取学生信息
  42. //</summary>
  43. //<param name="buildingsInfoID">主键ID</param>
  44. //<returns></returns>
  45. StudentsView GetStudentfileView(Guid? Userid);
  46. void Save(StudentsView studentfileView);
  47. void StudentDelete(List<Guid> userIDs);
  48. DataTable Import(DataTable dataSource);
  49. void GraduationPicImport(IList<string> photoPaths);
  50. void PicImport(IList<string> photoPaths);
  51. Sys_User GetUserByLoginID(Guid userid);
  52. DateTime? ReckonPlanningGraduateDate(Guid GrademajorID);/*预计毕业时间 方案一*/
  53. string GetPlanningGraduate(Guid GrademajorID);/*预计毕业时间 方案二*/
  54. /// <summary>
  55. /// 获取学生扩展表信息
  56. /// </summary>
  57. /// <param name="userID">用户ID</param>
  58. /// <returns></returns>
  59. Sys_User GetUser(Guid? userID);
  60. /// <summary>
  61. /// 获取学生扩展表信息
  62. /// </summary>
  63. /// <param name="userID">用户ID</param>
  64. /// <returns></returns>
  65. CF_StudentProfile GetProfile(Guid? userID);
  66. /// <summary>
  67. /// 获取学生信息
  68. /// </summary>
  69. /// <param name="Userid">用户ID</param>
  70. /// <returns></returns>
  71. CF_Student GetStudent(Guid? Userid);
  72. /// <summary>
  73. /// 高考招生表
  74. /// </summary>
  75. /// <param name="Userid">用户ID</param>
  76. /// <returns></returns>
  77. CF_Recruitstudents GetRecruit(Guid? Userid);
  78. /// <summary>
  79. /// 学生缴费表
  80. /// </summary>
  81. /// <param name="Userid">用户ID</param>
  82. /// <returns></returns>
  83. CF_StudentAccount GetAccount(Guid? Userid);
  84. /// <summary>
  85. /// 学生联系表
  86. /// </summary>
  87. /// <param name="Userid">用户ID</param>
  88. /// <returns></returns>
  89. CF_StudentContact GetContact(Guid? Userid);
  90. /// <summary>
  91. /// 获取学生表信息
  92. /// </summary>
  93. /// <param name="userID">用户ID</param>
  94. /// <returns></returns>
  95. CF_Student GetStudenter(Guid? userID);
  96. CF_Student GetReplaceGraduateNo(string ReplaceGraduateNo,Guid? userID);
  97. /// <summary>
  98. /// 获取学生信息(通用控件学生列表)
  99. /// </summary>
  100. /// <param name="configuretView"></param>
  101. /// <param name="collegeID"></param>
  102. /// <param name="grademajorID"></param>
  103. /// <param name="classmajorID"></param>
  104. /// <param name="pageIndex"></param>
  105. /// <param name="pageSize"></param>
  106. /// <returns></returns>
  107. IGridResultSet<BaseStudentView> GetBaseStudentView(ViewModel.ConfiguretView configuretView, Guid? collegeID, Guid? grademajorID, Guid? classmajorID, Guid? userID, int pageIndex, int pageSize);
  108. void ClearPhotoUrl(IList<Guid> studentIDList);
  109. int? GetDefaultLearnformForList();
  110. //获取学生信息
  111. StudentsView GetStudentViewByLoginID(string loginID);
  112. //获取学生信息
  113. StudentsView GetStudentViewByIDNum(string idNum);
  114. /// <summary>
  115. /// 获取在校学生的毕业时间
  116. /// </summary>
  117. /// <returns></returns>
  118. IGridResultSet<StudentsView> GetPlanningGraduateList();
  119. /// <summary>
  120. /// 获取数据范围
  121. /// </summary>
  122. /// <returns></returns>
  123. int GetDataRange();
  124. /// <summary>
  125. /// 获取在校学生
  126. /// </summary>
  127. /// <returns></returns>
  128. IGridResultSet<BaseStudentView> GetStudentOnlyInSchool(ConfiguretView configuretView, int pageIndex, int pageSize);
  129. IGridResultSet<StudentsView> GetStudentUserViewList(ConfiguretView configuretView,
  130. int? campusID, Guid? collegeID, int? education, int? years, int? standardID, int? learningformID, int? classNum, int? studentStatusID, bool? isPhotos,
  131. bool? isOnlyGraduation, bool? isPreviousNotGraduated, int pageIndex, int pageSize);
  132. RegistView GetRegistViewByUserID(Guid userID);
  133. bool CheckNecessary(Guid userID);
  134. }
  135. }