namespace Tiobon.Core.Api.Controllers;
///
/// 考试记录(Controller)
///
[Route("api/[controller]")]
[ApiController, GlobalActionFilter]
[Authorize(Permissions.Name), ApiExplorerSettings(GroupName = Grouping.GroupName_Ghre)]
public class Ghre_ExamRecordController : BaseController
{
public Ghre_ExamRecordController(IGhre_ExamRecordServices service) : base(service)
{
}
#region 根据条件查询数据
///
/// 根据条件查询数据
///
/// examId
/// 条件
///
[HttpPost, Route("QueryList/{examId}")]
public async Task> Query(string examId, [FromBody] QueryBody body)
{
return await _service.Query(examId, body);
}
#endregion
[HttpPost, Route("ModifyAdjustScore/{examRecordId}")]
public async Task ModifyAdjustScore(string examRecordId, [FromBody] EditGhre_ExamRecordInput edit)
{
return await _service.ModifyAdjustScore(examRecordId, edit);
}
}