Migrate เก็บฟิลด์ใช้แสดงในรายงานลาเพิ่ม #2195
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m18s

This commit is contained in:
harid 2026-01-16 09:25:22 +07:00
parent 5ec7933b3c
commit 64c1021c52
7 changed files with 1708 additions and 0 deletions

View file

@ -160,6 +160,9 @@ namespace BMA.EHR.Leave.Service.Controllers
LastName = r.LastName,
PositionName = r.PositionName,
PositionSign = r.PositionSign,
PosExecutiveName = r.PosExecutiveName,
PositionLevelName = r.PositionLeaveName,
OrganizationName = r.OrganizationName,
ProfileId = r.ProfileId,
KeycloakId = r.KeycloakId,
ApproveStatus = "PENDING",
@ -2034,6 +2037,9 @@ namespace BMA.EHR.Leave.Service.Controllers
ProfileId = profile.Id,
KeycloakId = Guid.Parse(UserId!),
ApproveType = "SENDER",
PositionLevelName = profile.PositionLeaveName ?? "",
PosExecutiveName = profile.PosExecutiveName ?? "",
OrganizationName = profile.Oc ?? "",
CreatedFullName = FullName ?? "",
CreatedUserId = UserId!,