IExamPaperQuestionMinorService.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application;
  3. /// <summary>
  4. /// 试卷小题管理服务
  5. /// </summary>
  6. public interface IExamPaperQuestionMinorService
  7. {
  8. /// <summary>
  9. /// 添加
  10. /// </summary>
  11. /// <param name="input"></param>
  12. /// <returns></returns>
  13. Task Add(AddExamPaperQuestionMinorInput input);
  14. /// <summary>
  15. /// 更新
  16. /// </summary>
  17. /// <param name="input"></param>
  18. /// <returns></returns>
  19. Task Update(UpdateExamPaperQuestionMinorInput input);
  20. /// <summary>
  21. /// 批量更新
  22. /// </summary>
  23. /// <param name="input"></param>
  24. /// <returns></returns>
  25. Task BatchUpdate(BatchUpdateExamPaperQuestionMinorInput input);
  26. /// <summary>
  27. /// 删除
  28. /// </summary>
  29. /// <param name="input"></param>
  30. /// <returns></returns>
  31. Task Del(BaseId input);
  32. /// <summary>
  33. /// 根据试卷ID获取小题列表
  34. /// </summary>
  35. /// <param name="examPaperId"></param>
  36. /// <returns></returns>
  37. Task<List<ExamPaperQuestionMinorOutput>> GetListByExamPaperId(int examPaperId);
  38. }