ExamSpecialStudentAuditAppService.cs 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application;
  3. /// <summary>
  4. /// 特殊学生审核服务
  5. /// </summary>
  6. [ApiDescriptionSettings(Name = "exam-special-student-audit")]
  7. [Route("exam/special/student/audit")]
  8. public class ExamSpecialStudentAuditAppService : IDynamicApiController
  9. {
  10. private readonly IExamSpecialStudentAuditService _examSpecialStudentAuditService;
  11. public ExamSpecialStudentAuditAppService(IExamSpecialStudentAuditService examSpecialStudentAuditService)
  12. {
  13. _examSpecialStudentAuditService = examSpecialStudentAuditService;
  14. }
  15. /// <summary>
  16. /// 提交审核
  17. /// </summary>
  18. /// <param name="input"></param>
  19. /// <returns></returns>
  20. public async Task Submit(BaseId input)
  21. {
  22. await _examSpecialStudentAuditService.Submit(input);
  23. }
  24. /// <summary>
  25. /// 审核
  26. /// </summary>
  27. /// <param name="input"></param>
  28. /// <returns></returns>
  29. public async Task Audit(ExamSepcialStudentAuditInput input)
  30. {
  31. await _examSpecialStudentAuditService.Audit(input);
  32. }
  33. /// <summary>
  34. /// 反审
  35. /// </summary>
  36. /// <param name="input"></param>
  37. /// <returns></returns>
  38. public async Task Reaudit(BaseId input)
  39. {
  40. await _examSpecialStudentAuditService.Reaudit(input);
  41. }
  42. /// <summary>
  43. /// 获取待审核监测计划列表
  44. /// </summary>
  45. /// <param name="input"></param>
  46. /// <returns></returns>
  47. public async Task<PageResult<ExamPlanAuditOutput>> QueryExamPlanPageList(ExamPlanPageInput input)
  48. {
  49. return await _examSpecialStudentAuditService.QueryExamPlanPageList(input);
  50. }
  51. /// <summary>
  52. /// 获取待审核机构列表
  53. /// </summary>
  54. /// <param name="input"></param>
  55. /// <returns></returns>
  56. public async Task<PageResult<ExamPlanOrgAuditOutput>> QueryOrgAuditPageList(ExamOrgDataReportAuditPageInput input)
  57. {
  58. return await _examSpecialStudentAuditService.QueryOrgAuditPageList(input);
  59. }
  60. }