IExamCourseService.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application;
  3. /// <summary>
  4. /// 监测科目管理服务
  5. /// </summary>
  6. public interface IExamCourseService
  7. {
  8. /// <summary>
  9. /// 添加监测科目
  10. /// </summary>
  11. /// <param name="input"></param>
  12. /// <returns></returns>
  13. Task Add(AddExamCourseInput input);
  14. /// <summary>
  15. /// 更新监测科目
  16. /// </summary>
  17. /// <param name="input"></param>
  18. /// <returns></returns>
  19. Task Update(UpdateExamCourseInput input);
  20. /// <summary>
  21. /// 删除监测科目
  22. /// </summary>
  23. /// <param name="input"></param>
  24. /// <returns></returns>
  25. Task Del(BaseId input);
  26. /// <summary>
  27. /// 根据ID获取监测科目信息
  28. /// </summary>
  29. /// <param name="id"></param>
  30. /// <returns></returns>
  31. Task<ExamCourseOutput> GetById(int id);
  32. /// <summary>
  33. /// 查询监测年级列表
  34. /// </summary>
  35. /// <param name="input"></param>
  36. /// <returns></returns>
  37. Task<List<ExamCourseOutput>> QueryList(QueryExamCourseInput input);
  38. /// <summary>
  39. /// 查询监测学科列表
  40. /// </summary>
  41. /// <param name="examPlanId"></param>
  42. /// <returns></returns>
  43. Task<List<ExamCourseOutput>> GetListByExamPlanId(int examPlanId);
  44. }