using YBEE.EQM.Core;
namespace YBEE.EQM.Application;
///
/// 缺测替补审核服务
///
[ApiDescriptionSettings(Name = "exam-absent-replace-audit")]
[Route("exam/absent/replace/audit")]
public class ExamAbsentReplaceAuditAppService : IDynamicApiController
{
private readonly IExamAbsentReplaceAuditService _examAbsentReplaceAuditService;
public ExamAbsentReplaceAuditAppService(IExamAbsentReplaceAuditService examAbsentReplaceAuditService)
{
_examAbsentReplaceAuditService = examAbsentReplaceAuditService;
}
///
/// 提交审核
///
///
///
public async Task Submit(BaseId input)
{
await _examAbsentReplaceAuditService.Submit(input);
}
///
/// 审核
///
///
///
public async Task Audit(ExamAbsentReplaceAuditInput input)
{
await _examAbsentReplaceAuditService.Audit(input);
}
///
/// 反审
///
///
///
public async Task Reaudit(BaseId input)
{
await _examAbsentReplaceAuditService.Reaudit(input);
}
///
/// 获取待审核监测计划列表
///
///
///
public async Task> QueryExamPlanPageList(ExamPlanPageInput input)
{
return await _examAbsentReplaceAuditService.QueryExamPlanPageList(input);
}
///
/// 获取待审核机构列表
///
///
///
public async Task> QueryOrgAuditPageList(ExamOrgDataReportAuditPageInput input)
{
return await _examAbsentReplaceAuditService.QueryOrgAuditPageList(input);
}
}