IExamStudentService.cs 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. using Furion.DatabaseAccessor.Extensions;
  2. using YBEE.EQM.Core;
  3. namespace YBEE.EQM.Application;
  4. /// <summary>
  5. /// 监测学生管理服务
  6. /// </summary>
  7. public interface IExamStudentService
  8. {
  9. /// <summary>
  10. /// 上传批量文件
  11. /// </summary>
  12. /// <param name="filePath"></param>
  13. /// <param name="examPlanId"></param>
  14. /// <param name="examGradeId"></param>
  15. /// <returns></returns>
  16. Task<UploadExamDataOutput<UploadExamStudentOutput>> Upload(string filePath, int examPlanId, int examGradeId);
  17. /// <summary>
  18. /// 批量导入监测学生
  19. /// </summary>
  20. /// <param name="input"></param>
  21. /// <returns></returns>
  22. Task Import(ImportExamStudentInput input);
  23. /// <summary>
  24. /// 添加监测学生
  25. /// </summary>
  26. /// <param name="input"></param>
  27. /// <returns></returns>
  28. Task Add(AddExamStudentInput input);
  29. /// <summary>
  30. /// 更新监测学生
  31. /// </summary>
  32. /// <param name="input"></param>
  33. /// <returns></returns>
  34. Task Update(UpdateExamStudentInput input);
  35. /// <summary>
  36. /// 删除监测学生
  37. /// </summary>
  38. /// <param name="input"></param>
  39. /// <returns></returns>
  40. Task Del(BaseId<long> input);
  41. /// <summary>
  42. /// 清空监测学生
  43. /// </summary>
  44. /// <param name="input"></param>
  45. /// <returns></returns>
  46. Task Clear(ClearExamStudentInput input);
  47. /// <summary>
  48. /// 分页查询监测学生列表
  49. /// </summary>
  50. /// <param name="input"></param>
  51. /// <returns></returns>
  52. Task<PageResult<ExamStudentOutput>> QueryPageList(ExamStudentPageInput input);
  53. /// <summary>
  54. /// 获取机构班级上报人数统计列表
  55. /// </summary>
  56. /// <param name="examPlanId"></param>
  57. /// <returns></returns>
  58. Task<ExamStudentGradeClassStudentCountOutput> GetOrgGradeClassStudentCount(int examPlanId);
  59. /// <summary>
  60. /// 分页查询班级学生人数
  61. /// </summary>
  62. /// <param name="input"></param>
  63. /// <returns></returns>
  64. Task<PageResult<ExamStudentCountItem>> QueryStudentCountPageList(ExamStudentCountPageInput input);
  65. }