using YBEE.EQM.Core;
namespace YBEE.EQM.Application;
///
/// 监测抽样学生管理服务
///
[ApiDescriptionSettings(Name = "exam-sample-student")]
[Route("exam/sample/student")]
public class ExamSampleStudentAppService : IDynamicApiController
{
private readonly IExamSampleStudentService _examSampleStudentService;
public ExamSampleStudentAppService(IExamSampleStudentService service)
{
_examSampleStudentService = service;
}
///
/// 分页查询抽样学生信息
///
///
///
public async Task> QueryPageList(ExamSampleStudentPageInput input)
{
return await _examSampleStudentService.QueryPageList(input);
}
///
/// 根据监测号查询已发布监测方案中当前机构下学生信息
///
/// 监测计划ID
/// 监测号
///
public async Task GetByExamNumber([FromQuery][Required] int examPlanId, [FromQuery][Required] string examNumber)
{
return await _examSampleStudentService.GetByExamNumber(examPlanId, examNumber);
}
///
/// 查询监测学生信息
///
///
///
public async Task QueryExamSampleStudent(QueryExamSampleStudentInput input)
{
return await _examSampleStudentService.QueryExamSampleStudent(input);
}
}