IExamTeacherService.cs 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application;
  3. /// <summary>
  4. /// 监测教师管理服务
  5. /// </summary>
  6. public interface IExamTeacherService
  7. {
  8. #region 批量导入
  9. /// <summary>
  10. /// 上传监测教师批量导入文件
  11. /// </summary>
  12. /// <param name="filePath"></param>
  13. /// <param name="examPlanId"></param>
  14. /// <returns></returns>
  15. Task<UploadExamDataOutput<UploadExamTeacherOutput>> Upload(string filePath, int examPlanId);
  16. /// <summary>
  17. /// 批量导入监测教师
  18. /// </summary>
  19. /// <param name="input"></param>
  20. /// <returns></returns>
  21. Task Import(ImportExamTeacherInput input);
  22. #endregion
  23. #region 创建编辑
  24. /// <summary>
  25. /// 添加监测教师
  26. /// </summary>
  27. /// <param name="input"></param>
  28. /// <returns></returns>
  29. Task Add(AddExamTeacherInput input);
  30. /// <summary>
  31. /// 更新监测教师
  32. /// </summary>
  33. /// <param name="input"></param>
  34. /// <returns></returns>
  35. Task Update(UpdateExamTeacherInput input);
  36. /// <summary>
  37. /// 删除监测教师
  38. /// </summary>
  39. /// <param name="input"></param>
  40. /// <returns></returns>
  41. Task Del(BaseId input);
  42. /// <summary>
  43. /// 清空监测教师
  44. /// </summary>
  45. /// <param name="input"></param>
  46. /// <returns></returns>
  47. Task Clear(ClearExamTeacherInput input);
  48. #endregion
  49. #region 查询统计
  50. /// <summary>
  51. /// 分页查询监测教师列表
  52. /// </summary>
  53. /// <param name="input"></param>
  54. /// <returns></returns>
  55. Task<PageResult<ExamTeacherOutput>> QueryPageList(ExamTeacherPageInput input);
  56. #endregion
  57. }