fix แต่งตั้ง-เลื่อน-ย้าย ไม่ส่งเงินเดือนปัจจุบัน

This commit is contained in:
Bright 2024-10-15 13:58:36 +07:00
parent edd5bfe0c2
commit 7f0ced5a2d

View file

@ -482,6 +482,7 @@ namespace BMA.EHR.Placement.Service.Controllers
(org.result.child1 == null ? "" : org.result.child1 + "/") +
(org.result.root == null ? "" : org.result.root);
placementAppointment.OrganizationPositionOld = org.result.position + "-" + placementAppointment.OrganizationOld;
placementAppointment.AmountOld = org.result.salary;
}
await _context.PlacementAppointments.AddAsync(placementAppointment);
await _context.SaveChangesAsync();