IStudentServices.cs 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Data;
  6. using Bowin.Common.Linq.Entity;
  7. using EMIS.Utility;
  8. using EMIS.Entities;
  9. using EMIS.ViewModel;
  10. using EMIS.ViewModel.StudentManage.StudentProfile;
  11. using EMIS.ViewModel.StudentManage.StudentRegister;
  12. using EMIS.ViewModel.StudentManage.StudentChange;
  13. using EMIS.CommonLogic.SystemServices;
  14. namespace EMIS.CommonLogic.StudentManage.StudentProfile
  15. {
  16. public interface IStudentServices : IBaseWorkflowServices<CF_DifferentDynamic>
  17. {
  18. /// <summary>
  19. /// 查询对应的学生信息StudentView
  20. /// </summary>
  21. /// <param name="configuretView"></param>
  22. /// <param name="campusID"></param>
  23. /// <param name="collegeID"></param>
  24. /// <param name="gradeID"></param>
  25. /// <param name="standardID"></param>
  26. /// <param name="educationID"></param>
  27. /// <param name="learningformID"></param>
  28. /// <param name="learnSystem"></param>
  29. /// <param name="classmajorID"></param>
  30. /// <param name="isPhoto"></param>
  31. /// <param name="reportStatus"></param>
  32. /// <param name="planningGraduateDate"></param>
  33. /// <param name="inSchoolStatus"></param>
  34. /// <param name="pageIndex"></param>
  35. /// <param name="pageSize"></param>
  36. /// <returns></returns>
  37. IGridResultSet<StudentView> GetStudentViewGrid(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, int? gradeID, int? standardID, int? educationID,
  38. int? learningformID, string learnSystem, Guid? classmajorID, int? isPhoto, int? reportStatus, string planningGraduateDate, int? inSchoolStatus, int pageIndex, int pageSize);
  39. /// <summary>
  40. /// 查询对应的学生信息List
  41. /// </summary>
  42. /// <param name="configuretView"></param>
  43. /// <param name="campusID"></param>
  44. /// <param name="collegeID"></param>
  45. /// <param name="gradeID"></param>
  46. /// <param name="standardID"></param>
  47. /// <param name="educationID"></param>
  48. /// <param name="learningformID"></param>
  49. /// <param name="learnSystem"></param>
  50. /// <param name="classmajorID"></param>
  51. /// <param name="isPhoto"></param>
  52. /// <param name="reportStatus"></param>
  53. /// <param name="planningGraduateDate"></param>
  54. /// <param name="inSchoolStatus"></param>
  55. /// <returns></returns>
  56. IList<StudentView> GetStudentViewList(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, int? gradeID, int? standardID, int? educationID,
  57. int? learningformID, string learnSystem, Guid? classmajorID, int? isPhoto, int? reportStatus, string planningGraduateDate, int? inSchoolStatus);
  58. /// <summary>
  59. /// 查询对应的学生信息List(userIDList)
  60. /// </summary>
  61. /// <param name="configuretView"></param>
  62. /// <param name="campusID"></param>
  63. /// <param name="collegeID"></param>
  64. /// <param name="gradeID"></param>
  65. /// <param name="standardID"></param>
  66. /// <param name="educationID"></param>
  67. /// <param name="learningformID"></param>
  68. /// <param name="learnSystem"></param>
  69. /// <param name="classmajorID"></param>
  70. /// <param name="isPhoto"></param>
  71. /// <param name="reportStatus"></param>
  72. /// <param name="planningGraduateDate"></param>
  73. /// <param name="inSchoolStatus"></param>
  74. /// <param name="userIDList"></param>
  75. /// <returns></returns>
  76. IList<StudentView> GetStudentViewList(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, int? gradeID, int? standardID, int? educationID,
  77. int? learningformID, string learnSystem, Guid? classmajorID, int? isPhoto, int? reportStatus, string planningGraduateDate, int? inSchoolStatus, List<Guid?> userIDList);
  78. /// <summary>
  79. /// 查询对应的学生信息List(根据userIDList)
  80. /// </summary>
  81. /// <param name="userIDList"></param>
  82. /// <returns></returns>
  83. IList<StudentView> GetStudentViewList(List<Guid?> userIDList);
  84. /// <summary>
  85. /// 查询对应的学生信息StudentBaseView(全部、在校或非在校信息)
  86. /// </summary>
  87. /// <param name="configuretView"></param>
  88. /// <param name="userID"></param>
  89. /// <param name="inSchoolStatus"></param>
  90. /// <param name="pageIndex"></param>
  91. /// <param name="pageSize"></param>
  92. /// <returns></returns>
  93. IGridResultSet<StudentBaseView> GetStudentBaseViewGrid(ConfiguretView configuretView, Guid? userID, int? inSchoolStatus, int pageIndex, int pageSize);
  94. /// <summary>
  95. /// 查询对应的学生信息List(全部、在校或非在校信息)
  96. /// </summary>
  97. /// <param name="configuretView"></param>
  98. /// <param name="userID"></param>
  99. /// <param name="inSchoolStatus"></param>
  100. /// <returns></returns>
  101. IList<StudentBaseView> GetStudentBaseViewList(ConfiguretView configuretView, Guid? userID, int? inSchoolStatus);
  102. /// <summary>
  103. /// 查询对应的照片比对学生信息StudentView
  104. /// </summary>
  105. /// <param name="configuretView"></param>
  106. /// <param name="campusID"></param>
  107. /// <param name="collegeID"></param>
  108. /// <param name="gradeID"></param>
  109. /// <param name="standardID"></param>
  110. /// <param name="educationID"></param>
  111. /// <param name="learningformID"></param>
  112. /// <param name="learnSystem"></param>
  113. /// <param name="classmajorID"></param>
  114. /// <param name="isRecruitPhoto"></param>
  115. /// <param name="isPhoto"></param>
  116. /// <param name="isGraduationPhoto"></param>
  117. /// <param name="isPhotoComparison"></param>
  118. /// <param name="inSchoolStatus"></param>
  119. /// <param name="pageIndex"></param>
  120. /// <param name="pageSize"></param>
  121. /// <returns></returns>
  122. IGridResultSet<StudentView> GetStudentPicComparisonGrid(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, int? gradeID, int? standardID, int? educationID,
  123. int? learningformID, string learnSystem, Guid? classmajorID, int? isRecruitPhoto, int? isPhoto, int? isGraduationPhoto, int? isPhotoComparison, int? inSchoolStatus, int pageIndex, int pageSize);
  124. /// <summary>
  125. /// 查询对应的照片比对学生信息List
  126. /// </summary>
  127. /// <param name="configuretView"></param>
  128. /// <param name="campusID"></param>
  129. /// <param name="collegeID"></param>
  130. /// <param name="gradeID"></param>
  131. /// <param name="standardID"></param>
  132. /// <param name="educationID"></param>
  133. /// <param name="learningformID"></param>
  134. /// <param name="learnSystem"></param>
  135. /// <param name="classmajorID"></param>
  136. /// <param name="isRecruitPhoto"></param>
  137. /// <param name="isPhoto"></param>
  138. /// <param name="isGraduationPhoto"></param>
  139. /// <param name="isPhotoComparison"></param>
  140. /// <param name="inSchoolStatus"></param>
  141. /// <returns></returns>
  142. IList<StudentView> GetStudentPicComparisonList(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, int? gradeID, int? standardID, int? educationID,
  143. int? learningformID, string learnSystem, Guid? classmajorID, int? isRecruitPhoto, int? isPhoto, int? isGraduationPhoto, int? isPhotoComparison, int? inSchoolStatus);
  144. /// <summary>
  145. /// 查询对应的照片比对学生信息List(userIDList)
  146. /// </summary>
  147. /// <param name="configuretView"></param>
  148. /// <param name="campusID"></param>
  149. /// <param name="collegeID"></param>
  150. /// <param name="gradeID"></param>
  151. /// <param name="standardID"></param>
  152. /// <param name="educationID"></param>
  153. /// <param name="learningformID"></param>
  154. /// <param name="learnSystem"></param>
  155. /// <param name="classmajorID"></param>
  156. /// <param name="isRecruitPhoto"></param>
  157. /// <param name="isPhoto"></param>
  158. /// <param name="isGraduationPhoto"></param>
  159. /// <param name="isPhotoComparison"></param>
  160. /// <param name="inSchoolStatus"></param>
  161. /// <param name="userIDList"></param>
  162. /// <returns></returns>
  163. IList<StudentView> GetStudentPicComparisonList(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, int? gradeID, int? standardID, int? educationID,
  164. int? learningformID, string learnSystem, Guid? classmajorID, int? isRecruitPhoto, int? isPhoto, int? isGraduationPhoto, int? isPhotoComparison, int? inSchoolStatus, List<Guid?> userIDList);
  165. /// <summary>
  166. /// 查询对应的学生信息StudentView
  167. /// </summary>
  168. /// <param name="userID"></param>
  169. /// <returns></returns>
  170. StudentView GetStudentView(Guid? userID);
  171. /// <summary>
  172. /// 编辑(新增、修改,业务主键:学号或考生号唯一)
  173. /// </summary>
  174. /// <param name="studentView"></param>
  175. /// <param name="photoUrl"></param>
  176. void StudentEdit(StudentView studentView, string photoUrl);
  177. /// <summary>
  178. /// 删除
  179. /// 注:删除成功后,需对相应的录取名单提交状态进行更新(以学号和证件号码进行查询)
  180. /// </summary>
  181. /// <param name="userIDs"></param>
  182. /// <returns></returns>
  183. bool StudentDelete(List<Guid?> userIDs);
  184. /// <summary>
  185. /// 查询对应的学籍异动信息StudentChangeView
  186. /// </summary>
  187. /// <param name="configuretView"></param>
  188. /// <param name="userID"></param>
  189. /// <param name="schoolyearID"></param>
  190. /// <param name="changeTypeID"></param>
  191. /// <param name="pageIndex"></param>
  192. /// <param name="pageSize"></param>
  193. /// <returns></returns>
  194. IGridResultSet<StudentChangeView> GetStudentChangeViewGrid(ConfiguretView configuretView, Guid? userID, Guid? schoolyearID, int? changeTypeID, int pageIndex, int pageSize);
  195. /// <summary>
  196. /// 查询对应的学籍异动信息List
  197. /// </summary>
  198. /// <param name="configuretView"></param>
  199. /// <param name="userID"></param>
  200. /// <param name="schoolyearID"></param>
  201. /// <param name="changeTypeID"></param>
  202. /// <returns></returns>
  203. IList<StudentChangeView> GetStudentChangeViewList(ConfiguretView configuretView, Guid? userID, Guid? schoolyearID, int? changeTypeID);
  204. /// <summary>
  205. /// 查询对应的学籍注册信息StudentReportView
  206. /// </summary>
  207. /// <param name="configuretView"></param>
  208. /// <param name="userID"></param>
  209. /// <param name="schoolyearID"></param>
  210. /// <param name="reportStatus"></param>
  211. /// <param name="pageIndex"></param>
  212. /// <param name="pageSize"></param>
  213. /// <returns></returns>
  214. IGridResultSet<StudentReportView> GetStudentReportViewGrid(ConfiguretView configuretView, Guid? userID, Guid? schoolyearID, int? reportStatus, int pageIndex, int pageSize);
  215. /// <summary>
  216. /// 查询对应的学籍注册信息List
  217. /// </summary>
  218. /// <param name="configuretView"></param>
  219. /// <param name="userID"></param>
  220. /// <param name="schoolyearID"></param>
  221. /// <param name="reportStatus"></param>
  222. /// <returns></returns>
  223. IList<StudentReportView> GetStudentReportViewList(ConfiguretView configuretView, Guid? userID, Guid? schoolyearID, int? reportStatus);
  224. /// <summary>
  225. /// 删除照片(单个删除)
  226. /// </summary>
  227. /// <param name="userID"></param>
  228. void DeletePhoto(Guid? userID);
  229. /// <summary>
  230. /// 删除照片(批量删除)
  231. /// </summary>
  232. /// <param name="userIDs"></param>
  233. /// <returns></returns>
  234. bool PicDelete(List<Guid?> userIDs);
  235. /// <summary>
  236. /// 照片比对通过
  237. /// </summary>
  238. /// <param name="userIDList"></param>
  239. /// <returns></returns>
  240. string StudentPicComparisonPass(List<Guid?> userIDList);
  241. /// <summary>
  242. /// 照片比对驳回
  243. /// </summary>
  244. /// <param name="userIDList"></param>
  245. /// <returns></returns>
  246. string StudentPicComparisonUndo(List<Guid?> userIDList);
  247. /// <summary>
  248. /// DBF文件创建
  249. /// </summary>
  250. /// <param name="dt"></param>
  251. /// <param name="colnameList"></param>
  252. /// <param name="savePath"></param>
  253. /// <returns></returns>
  254. string CreateDBFFile(DataTable dt, List<string> colnameList, string savePath = null);
  255. /// <summary>
  256. /// 操行录入
  257. /// </summary>
  258. /// <param name="userIDs"></param>
  259. /// <param name="studentConductView"></param>
  260. /// <returns></returns>
  261. string StudentConductInput(List<Guid?> userIDs, StudentConductView studentConductView);
  262. /// <summary>
  263. /// 毕业证书编号Excel导入
  264. /// </summary>
  265. /// <param name="cellheader"></param>
  266. /// <param name="inCount"></param>
  267. /// <param name="upCount"></param>
  268. /// <param name="errdataList"></param>
  269. /// <param name="errCount"></param>
  270. /// <param name="sourcePhysicalPath"></param>
  271. void GraduateNoImport(Dictionary<string, string> cellheader, out int? inCount, out int? upCount, out List<StudentView> errdataList, out int? errCount, string sourcePhysicalPath);
  272. /// <summary>
  273. /// 导入学籍照片
  274. /// </summary>
  275. /// <param name="photoPaths"></param>
  276. /// <param name="importPicType"></param>
  277. /// <param name="inCount"></param>
  278. /// <param name="errCount"></param>
  279. /// <param name="errDataTable"></param>
  280. void StudentPicImport(IList<string> photoPaths, string importPicType, out int? inCount, out int? errCount, out DataTable errDataTable);
  281. /// <summary>
  282. /// 导入学历照片
  283. /// </summary>
  284. /// <param name="photoPaths"></param>
  285. /// <param name="importGraPicType"></param>
  286. void StudentGraPicImport(IList<string> photoPaths, string importGraPicType, out int? inCount, out int? errCount, out DataTable errDataTable);
  287. /// <summary>
  288. /// 查询对应的学生照片RemoteFileInfoList
  289. /// </summary>
  290. /// <param name="studentViewList"></param>
  291. /// <param name="exportPicType"></param>
  292. /// <returns></returns>
  293. IList<FileUploadHelper.RemoteFileInfo> GetStudentPicRemoteFileInfoList(List<StudentView> studentViewList, string exportPicType);
  294. /// <summary>
  295. /// 查询默认的学习形式(个性化配置)
  296. /// 默认为全部
  297. /// </summary>
  298. /// <returns></returns>
  299. int? GetDefaultLearnformForList();
  300. /// <summary>
  301. /// 查询班级信息对应的预计毕业日期DateTime
  302. /// </summary>
  303. /// <param name="classmajorID"></param>
  304. /// <returns></returns>
  305. DateTime? GetClassmajorPlanningGraduateDate(Guid? classmajorID);
  306. /// <summary>
  307. /// 查询年级专业对应的预计毕业日期string
  308. /// </summary>
  309. /// <param name="grademajorID"></param>
  310. /// <returns></returns>
  311. string GetPlanningGraduateDate(Guid? grademajorID);
  312. /// <summary>
  313. /// 查询班级信息对应的毕业学期中的毕业日期DateTime
  314. /// </summary>
  315. /// <param name="classmajorID"></param>
  316. /// <returns></returns>
  317. DateTime? GetClassmajorGraduateDate(Guid? classmajorID);
  318. /// <summary>
  319. /// 查询年级专业对应的毕业学期中的毕业日期string
  320. /// </summary>
  321. /// <param name="grademajorID"></param>
  322. /// <returns></returns>
  323. string GetGraduateDate(Guid? grademajorID);
  324. /// <summary>
  325. /// 查询对应的学生预计毕业日期
  326. /// </summary>
  327. /// <param name="configuretView"></param>
  328. /// <param name="pageIndex"></param>
  329. /// <param name="pageSize"></param>
  330. /// <returns></returns>
  331. IGridResultSet<StudentView> GetStudentPlanningGraduateDateGrid(ConfiguretView configuretView, int pageIndex, int pageSize);
  332. /// <summary>
  333. /// 查询对应的学生预计毕业日期List
  334. /// </summary>
  335. /// <param name="configuretView"></param>
  336. /// <returns></returns>
  337. IList<StudentView> GetStudentPlanningGraduateDateList(ConfiguretView configuretView);
  338. /// <summary>
  339. /// 查询对应的数据范围ID
  340. /// </summary>
  341. /// <returns></returns>
  342. int? GetDataRangeID();
  343. /// <summary>
  344. /// 学生信息Excel导入
  345. /// </summary>
  346. /// <param name="cellheader"></param>
  347. /// <param name="inCount"></param>
  348. /// <param name="upCount"></param>
  349. /// <param name="errdataList"></param>
  350. /// <param name="errCount"></param>
  351. /// <param name="sourcePhysicalPath"></param>
  352. void StudentImport(Dictionary<string, string> cellheader, out int? inCount, out int? upCount, out List<StudentView> errdataList, out int? errCount, string sourcePhysicalPath);
  353. /// <summary>
  354. /// 学生信息新增刷新相关业务处理
  355. /// </summary>
  356. /// <param name="userID"></param>
  357. void StudentOnAddRefresh(List<Guid> userID);
  358. }
  359. }