ExamAbsentReplaceAuditAppService.cs 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application;
  3. /// <summary>
  4. /// 缺测替补审核服务
  5. /// </summary>
  6. [ApiDescriptionSettings(Name = "exam-absent-replace-audit")]
  7. [Route("exam/absent/replace/audit")]
  8. public class ExamAbsentReplaceAuditAppService : IDynamicApiController
  9. {
  10. private readonly IExamAbsentReplaceAuditService _examAbsentReplaceAuditService;
  11. public ExamAbsentReplaceAuditAppService(IExamAbsentReplaceAuditService examAbsentReplaceAuditService)
  12. {
  13. _examAbsentReplaceAuditService = examAbsentReplaceAuditService;
  14. }
  15. /// <summary>
  16. /// 提交审核
  17. /// </summary>
  18. /// <param name="input"></param>
  19. /// <returns></returns>
  20. public async Task Submit(BaseId input)
  21. {
  22. await _examAbsentReplaceAuditService.Submit(input);
  23. }
  24. /// <summary>
  25. /// 审核
  26. /// </summary>
  27. /// <param name="input"></param>
  28. /// <returns></returns>
  29. public async Task Audit(ExamAbsentReplaceAuditInput input)
  30. {
  31. await _examAbsentReplaceAuditService.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 _examAbsentReplaceAuditService.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 _examAbsentReplaceAuditService.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 _examAbsentReplaceAuditService.QueryOrgAuditPageList(input);
  59. }
  60. }