ตำแหน่งสอบ

This commit is contained in:
kittapath 2024-10-31 21:31:04 +07:00
parent 3a100ea9bd
commit 3b2b72d5d1
2 changed files with 4 additions and 0 deletions

View file

@ -22,6 +22,9 @@ namespace BMA.EHR.Domain.Models.Placement
[Comment("Id ตำแหน่งที่สอบได้")] [Comment("Id ตำแหน่งที่สอบได้")]
public PositionPath? PositionCandidate { get; set; } public PositionPath? PositionCandidate { get; set; }
[Comment("ตำแหน่งที่สอบได้")]
public string? positionName { get; set; }
// [Comment("Id เลขที่ตำแหน่ง")] // [Comment("Id เลขที่ตำแหน่ง")]
// public OrganizationPositionEntity? OrganizationPosition { get; set; } // public OrganizationPositionEntity? OrganizationPosition { get; set; }
[Comment("วันที่บรรจุ")] [Comment("วันที่บรรจุ")]

View file

@ -263,6 +263,7 @@ namespace BMA.EHR.Recruit.Service.Services
{ {
Placement = placement, Placement = placement,
PositionCandidate = await _contextMetadata.PositionPaths.FirstOrDefaultAsync(x => x.Name == candidate.PositionName), PositionCandidate = await _contextMetadata.PositionPaths.FirstOrDefaultAsync(x => x.Name == candidate.PositionName),
positionName = candidate.PositionName,
Prefix = candidate.Prefix, Prefix = candidate.Prefix,
Firstname = candidate.FirstName, Firstname = candidate.FirstName,
Lastname = candidate.LastName, Lastname = candidate.LastName,