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