IExamGradeService.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. namespace YBEE.EQM.Application;
  2. /// <summary>
  3. /// 监测年级管理服务
  4. /// </summary>
  5. public interface IExamGradeService
  6. {
  7. /// <summary>
  8. /// 批量添加监测年级
  9. /// </summary>
  10. /// <param name="input"></param>
  11. /// <returns></returns>
  12. Task AddList(AddExamGradeListInput input);
  13. /// <summary>
  14. /// 移出监测年级
  15. /// </summary>
  16. /// <param name="input"></param>
  17. /// <returns></returns>
  18. Task Remove(DelExamGradeInput input);
  19. /// <summary>
  20. /// 根据ID获取监测年级
  21. /// </summary>
  22. /// <param name="id"></param>
  23. /// <returns></returns>
  24. Task<ExamGradeOutput> GetById(int id);
  25. /// <summary>
  26. /// 根据监测计划ID获取全部监测年级
  27. /// </summary>
  28. /// <param name="examPlanId"></param>
  29. /// <returns></returns>
  30. Task<List<ExamGradeOutput>> GetListByExamPlanId(int examPlanId);
  31. /// <summary>
  32. /// 根据监测计划和年级ID获取监测年级信息
  33. /// </summary>
  34. /// <param name="examPlanId"></param>
  35. /// <param name="gradeId"></param>
  36. /// <returns></returns>
  37. Task<ExamGradeOutput> GetByExamPlanGradeId(int examPlanId, int gradeId);
  38. }