แข่งขันดูชื่อรอบ
This commit is contained in:
parent
1a832061a9
commit
3a6210fda0
3 changed files with 13 additions and 3 deletions
|
|
@ -1368,7 +1368,7 @@ namespace BMA.EHR.Recruit.Service.Controllers
|
||||||
}
|
}
|
||||||
|
|
||||||
[HttpPost("exam/{id:length(36)}")]
|
[HttpPost("exam/{id:length(36)}")]
|
||||||
public ActionResult<ResponseObject> GetExamResultById([FromBody] RecruitExamRequest req, Guid id)
|
public async Task<ActionResult<ResponseObject>> GetExamResultById([FromBody] RecruitExamRequest req, Guid id)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
@ -1474,11 +1474,21 @@ namespace BMA.EHR.Recruit.Service.Controllers
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
var period = await _context.RecruitImports.AsQueryable()
|
||||||
|
.Select(x => new
|
||||||
|
{
|
||||||
|
x.Id,
|
||||||
|
Year = x.Year.ToThaiYear(),
|
||||||
|
x.Order,
|
||||||
|
x.Name,
|
||||||
|
})
|
||||||
|
.FirstOrDefaultAsync(x => x.Id == id);
|
||||||
|
|
||||||
return Success(new
|
return Success(new
|
||||||
{
|
{
|
||||||
data = data,
|
data = data,
|
||||||
header = header,
|
header = header,
|
||||||
|
period = period,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
|
|
|
||||||
|
|
@ -9,9 +9,9 @@ build_property.EnforceExtendedAnalyzerRules =
|
||||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||||
build_property.RootNamespace = BMA.EHR.Recruit.Service
|
build_property.RootNamespace = BMA.EHR.Recruit.Service
|
||||||
build_property.RootNamespace = BMA.EHR.Recruit.Service
|
build_property.RootNamespace = BMA.EHR.Recruit.Service
|
||||||
build_property.ProjectDir = D:\BMA-EHR-RECRUIT-SERVICE\
|
build_property.ProjectDir = d:\BMA-EHR-RECRUIT-SERVICE\
|
||||||
build_property.RazorLangVersion = 7.0
|
build_property.RazorLangVersion = 7.0
|
||||||
build_property.SupportLocalizedComponentNames =
|
build_property.SupportLocalizedComponentNames =
|
||||||
build_property.GenerateRazorMetadataSourceChecksumAttributes =
|
build_property.GenerateRazorMetadataSourceChecksumAttributes =
|
||||||
build_property.MSBuildProjectDirectory = D:\BMA-EHR-RECRUIT-SERVICE
|
build_property.MSBuildProjectDirectory = d:\BMA-EHR-RECRUIT-SERVICE
|
||||||
build_property._RazorSourceGeneratorDebug =
|
build_property._RazorSourceGeneratorDebug =
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue