แก้วันที่บรรจุ

This commit is contained in:
Kittapath 2023-09-13 22:07:21 +07:00
parent d96ad94299
commit 4d1a2b71bd

View file

@ -581,6 +581,7 @@ namespace BMA.EHR.Placement.Service.Controllers
person.MouthSalaryAmount = null;
person.PositionSalaryAmount = null;
person.RecruitDate = null;
person.ReportingDate = null;
person.RejectReason = req.Note;
person.PlacementStatus = "DISCLAIM";
person.LastUpdateFullName = FullName ?? "System Administrator";
@ -686,6 +687,7 @@ namespace BMA.EHR.Placement.Service.Controllers
person.MouthSalaryAmount = req.MouthSalaryAmount;
person.PositionSalaryAmount = req.PositionSalaryAmount;
person.RecruitDate = req.ContainDate;
person.ReportingDate = req.ContainDate;
person.PlacementStatus = "PREPARE-CONTAIN";
person.LastUpdateFullName = FullName ?? "System Administrator";
person.LastUpdateUserId = UserId ?? "";
@ -1118,6 +1120,7 @@ namespace BMA.EHR.Placement.Service.Controllers
profile.MouthSalaryAmount = null;
profile.PositionSalaryAmount = null;
profile.RecruitDate = null;
profile.ReportingDate = null;
_context.SaveChanges();
return Success();