IExamStudentService.cs 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. /// <returns></returns>
  15. Task<UploadExamDataOutput<UploadExamStudentOutput>> Upload(string filePath, int examPlanId);
  16. /// <summary>
  17. /// 批量导入监测学生
  18. /// </summary>
  19. /// <param name="input"></param>
  20. /// <returns></returns>
  21. Task Import(ImportExamStudentInput input);
  22. /// <summary>
  23. /// 添加监测学生
  24. /// </summary>
  25. /// <param name="input"></param>
  26. /// <returns></returns>
  27. Task Add(AddExamStudentInput input);
  28. /// <summary>
  29. /// 更新监测学生
  30. /// </summary>
  31. /// <param name="input"></param>
  32. /// <returns></returns>
  33. Task Update(UpdateExamStudentInput input);
  34. /// <summary>
  35. /// 删除监测学生
  36. /// </summary>
  37. /// <param name="input"></param>
  38. /// <returns></returns>
  39. Task Del(BaseId<long> input);
  40. /// <summary>
  41. /// 清空监测学生
  42. /// </summary>
  43. /// <param name="input"></param>
  44. /// <returns></returns>
  45. Task Clear(ClearExamStudentInput input);
  46. /// <summary>
  47. /// 分页查询监测学生列表
  48. /// </summary>
  49. /// <param name="input"></param>
  50. /// <returns></returns>
  51. Task<PageResult<ExamStudentOutput>> QueryPageList(ExamStudentPageInput input);
  52. /// <summary>
  53. /// 获取机构班级上报人数统计列表
  54. /// </summary>
  55. /// <param name="examPlanId"></param>
  56. /// <returns></returns>
  57. Task<ExamStudentGradeClassStudentCountOutput> GetOrgGradeClassStudentCount(int examPlanId);
  58. /// <summary>
  59. /// 分页查询班级学生人数
  60. /// </summary>
  61. /// <param name="input"></param>
  62. /// <returns></returns>
  63. Task<PageResult<ExamStudentCountItem>> QueryStudentCountPageList(ExamStudentCountPageInput input);
  64. }