You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
983 B
30 lines
983 B
namespace Tiobon.Core.Api.Controllers;
|
|
|
|
/// <summary>
|
|
/// 考试记录(Controller)
|
|
/// </summary>
|
|
[Route("api/[controller]")]
|
|
[ApiController, GlobalActionFilter]
|
|
[Authorize(Permissions.Name), ApiExplorerSettings(GroupName = Grouping.GroupName_Ghre)]
|
|
public class Ghre_ExamRecordController : BaseController<IGhre_ExamRecordServices, Ghre_ExamRecord, Ghre_ExamRecordDto, InsertGhre_ExamRecordInput, EditGhre_ExamRecordInput>
|
|
{
|
|
public Ghre_ExamRecordController(IGhre_ExamRecordServices service) : base(service)
|
|
{
|
|
}
|
|
|
|
|
|
#region 根据条件查询数据
|
|
/// <summary>
|
|
/// 根据条件查询数据
|
|
/// </summary>
|
|
/// <param name="examId">examId</param>
|
|
/// <param name="body">条件</param>
|
|
/// <returns></returns>
|
|
[HttpPost, Route("QueryList/{examId}")]
|
|
public async Task<ServicePageResult<Ghre_ExamRecordDto>> Query(string examId, [FromBody] QueryBody body)
|
|
{
|
|
return await _service.Query(examId, body);
|
|
}
|
|
|
|
#endregion
|
|
} |