IExamSpecialStudentService.cs 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application;
  3. /// <summary>
  4. /// 监测特殊学生上报管理服务
  5. /// </summary>
  6. public interface IExamSpecialStudentService
  7. {
  8. #region 批量导入
  9. /// <summary>
  10. /// 上传监测特殊学生批量导入文件
  11. /// </summary>
  12. /// <param name="filePath"></param>
  13. /// <param name="examPlanId"></param>
  14. /// <returns></returns>
  15. Task<UploadExamDataOutput<UploadExamSpecialStudentOutput>> Upload(string filePath, int examPlanId);
  16. /// <summary>
  17. /// 批量导入监测特殊学生
  18. /// </summary>
  19. /// <param name="input"></param>
  20. /// <returns></returns>
  21. Task<int> Import(ImportExamSpecialStudentInput input);
  22. #endregion
  23. #region 创建编辑
  24. /// <summary>
  25. /// 添加监测特殊学生
  26. /// </summary>
  27. /// <param name="input"></param>
  28. /// <returns></returns>
  29. Task Add(AddExamSpecialStudentInput input);
  30. /// <summary>
  31. /// 更新监测特殊学生
  32. /// </summary>
  33. /// <param name="input"></param>
  34. /// <returns></returns>
  35. Task Update(UpdateExamSpecialStudentInput input);
  36. /// <summary>
  37. /// 添加特殊学生佐证材料
  38. /// </summary>
  39. /// <param name="input"></param>
  40. /// <returns></returns>
  41. Task AddAttachment(AddExamSpecialStudentAttachmentInput input);
  42. /// <summary>
  43. /// 删除特殊学生佐证材料
  44. /// </summary>
  45. /// <param name="input"></param>
  46. /// <returns></returns>
  47. Task DelAttachment(DeleteExamSpecialStudentAttachmentInput input);
  48. /// <summary>
  49. /// 验证特殊学生佐证材料
  50. /// </summary>
  51. /// <param name="examPlanId"></param>
  52. /// <returns></returns>
  53. Task<bool> VerifyAttachment(int examPlanId);
  54. /// <summary>
  55. /// 删除监测特殊学生
  56. /// </summary>
  57. /// <param name="input"></param>
  58. /// <returns></returns>
  59. Task Del(BaseId input);
  60. /// <summary>
  61. /// 清空监测特殊学生
  62. /// </summary>
  63. /// <param name="input"></param>
  64. /// <returns></returns>
  65. Task Clear(ClearExamSpecialStudentInput input);
  66. /// <summary>
  67. /// 导出监测特殊学生上报打印表格
  68. /// </summary>
  69. /// <param name="examPlanId"></param>
  70. /// <returns></returns>
  71. Task<byte[]> ExportPrintTable(int examPlanId);
  72. #endregion
  73. #region 查询统计
  74. /// <summary>
  75. /// 分页查询监测特殊学生列表
  76. /// </summary>
  77. /// <param name="input"></param>
  78. /// <returns></returns>
  79. Task<PageResult<ExamSpecialStudentOutput>> QueryPageList(ExamSpecialStudentPageInput input);
  80. /// <summary>
  81. /// 获取机构班级特殊学生上报人数统计列表
  82. /// </summary>
  83. /// <param name="examPlanId"></param>
  84. /// <param name="sysOrgId"></param>
  85. /// <returns></returns>
  86. Task<ExamSpecialStudentCountOutput> GetOrgGradeClassStudentCount(int examPlanId, short? sysOrgId = null);
  87. /// <summary>
  88. /// 获取状态数量
  89. /// </summary>
  90. /// <returns></returns>
  91. Task<List<StatusCount>> QueryStatusCount(ExamSpecialStudentPageInput input);
  92. #endregion
  93. Task RefreshFileSize();
  94. }