ปรับรายงานลา #2195
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m14s

This commit is contained in:
harid 2026-01-19 12:13:45 +07:00
parent b0715e3da6
commit b5c82f4243
2 changed files with 258 additions and 36 deletions

View file

@ -166,7 +166,14 @@ namespace BMA.EHR.Leave.Service.Controllers
ProfileId = r.ProfileId,
KeycloakId = r.KeycloakId,
ApproveStatus = "PENDING",
ApproveType = type.Trim().ToUpper()
ApproveType = type.Trim().ToUpper(),
CreatedFullName = FullName ?? "",
CreatedUserId = UserId!,
CreatedAt = DateTime.Now,
LastUpdateFullName = FullName ?? "",
LastUpdateUserId = UserId!,
LastUpdatedAt = DateTime.Now,
});
}
@ -2033,7 +2040,7 @@ namespace BMA.EHR.Leave.Service.Controllers
Prefix = profile.Prefix ?? "",
FirstName = profile.FirstName ?? "",
LastName = profile.LastName ?? "",
PositionName = $"{profile.Position ?? ""}{profile.PositionLeaveName ?? ""}",
PositionName = $"{profile.Position ?? ""}",
ProfileId = profile.Id,
KeycloakId = Guid.Parse(UserId!),
ApproveType = "SENDER",