INewStudentServices.cs 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Data;
  4. using System.Linq;
  5. using System.Text;
  6. using Bowin.Common.Linq.Entity;
  7. using EMIS.ViewModel;
  8. using EMIS.ViewModel.EnrollManage.NewStudentManage;
  9. namespace EMIS.CommonLogic.EnrollManage.NewStudentManage
  10. {
  11. public interface INewStudentServices
  12. {
  13. /// <summary>
  14. /// 查询对应的新生名单信息View
  15. /// </summary>
  16. /// <param name="configuretView"></param>
  17. /// <param name="gradeID"></param>
  18. /// <param name="standardID"></param>
  19. /// <param name="educationID"></param>
  20. /// <param name="learningformID"></param>
  21. /// <param name="learnSystem"></param>
  22. /// <param name="isPhoto"></param>
  23. /// <param name="pageIndex"></param>
  24. /// <param name="pageSize"></param>
  25. /// <returns></returns>
  26. IGridResultSet<NewStudentView> GetNewStudentViewGrid(ConfiguretView configuretView, int? gradeID, int? standardID, int? educationID, int? learningformID, string learnSystem, int? isPhoto, int pageIndex, int pageSize);
  27. /// <summary>
  28. /// 查询对应的新生名单信息List
  29. /// </summary>
  30. /// <param name="configuretView"></param>
  31. /// <param name="gradeID"></param>
  32. /// <param name="standardID"></param>
  33. /// <param name="educationID"></param>
  34. /// <param name="learningformID"></param>
  35. /// <param name="learnSystem"></param>
  36. /// <param name="isPhoto"></param>
  37. /// <returns></returns>
  38. IList<NewStudentView> GetNewStudentViewList(ConfiguretView configuretView, int? gradeID, int? standardID, int? educationID, int? learningformID, string learnSystem, int? isPhoto);
  39. /// <summary>
  40. /// 查询对应的新生名单信息NewStudentView
  41. /// </summary>
  42. /// <param name="newStudentID"></param>
  43. /// <returns></returns>
  44. NewStudentView GetNewStudentView(Guid? newStudentID);
  45. /// <summary>
  46. /// 编辑(新增、修改,业务主键:考生号唯一)
  47. /// </summary>
  48. /// <param name="newStudentView"></param>
  49. /// <param name="photoUrl"></param>
  50. void NewStudentEdit(NewStudentView newStudentView, string photoUrl);
  51. /// <summary>
  52. /// 删除
  53. /// </summary>
  54. /// <param name="newStudentIDList"></param>
  55. /// <returns></returns>
  56. bool NewStudentDelete(List<Guid?> newStudentIDList);
  57. /// <summary>
  58. /// 删除照片(单个删除)
  59. /// </summary>
  60. /// <param name="newStudentID"></param>
  61. void DeletePhoto(Guid? newStudentID);
  62. /// <summary>
  63. /// 删除照片(批量删除)
  64. /// </summary>
  65. /// <param name="newStudentIDs"></param>
  66. /// <returns></returns>
  67. bool PicDelete(List<Guid?> newStudentIDs);
  68. /// <summary>
  69. /// 导入照片
  70. /// </summary>
  71. /// <param name="photoPaths"></param>
  72. /// <param name="importPicType"></param>
  73. /// <param name="inCount"></param>
  74. /// <param name="errCount"></param>
  75. /// <param name="errDataTable"></param>
  76. void NewStudentPicImport(IList<string> photoPaths, string importPicType, out int? inCount, out int? errCount, out DataTable errDataTable);
  77. /// <summary>
  78. /// Excel导入
  79. /// </summary>
  80. /// <param name="cellheader"></param>
  81. /// <param name="inCount"></param>
  82. /// <param name="upCount"></param>
  83. /// <param name="errdataList"></param>
  84. /// <param name="errCount"></param>
  85. /// <param name="sourcePhysicalPath"></param>
  86. void NewStudentImport(Dictionary<string, string> cellheader, out int? inCount, out int? upCount, out List<NewStudentView> errdataList, out int? errCount, string sourcePhysicalPath);
  87. }
  88. }