fixing updated dear & commanderPosition

This commit is contained in:
Warunee Tamkoo 2025-05-15 12:06:31 +07:00
parent a32c12460a
commit 3e58fd1339

View file

@ -712,8 +712,8 @@ namespace BMA.EHR.Leave.Service.Controllers
//}
oldData.LeaveTypeCode = leaveType.Code;
oldData.Dear = profile.Commander ?? "";
oldData.CommanderPosition = profile.CommanderPositionName ?? "";
oldData.Dear = req.Dear ?? "";
oldData.CommanderPosition = req.CommanderPosition ?? "";
oldData.PositionName = profile.Position == null ? "" : profile.Position;