fix แก้ไขวันที่ยื่นขอลาออกแล้วข้อมูลไม่เปลี่ยน #2547
This commit is contained in:
parent
f50efc632b
commit
d6a7f1a5ca
4 changed files with 18 additions and 4 deletions
|
|
@ -1513,7 +1513,14 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
|||
return Error(GlobalMessages.RetirementResignNotFound, 404);
|
||||
|
||||
updated.Location = req.Location;
|
||||
updated.ActiveDate = req.ActiveDate;
|
||||
if (req.SendDate != null)
|
||||
{
|
||||
updated.SendDate = req.SendDate;
|
||||
}
|
||||
if (req.ActiveDate != null)
|
||||
{
|
||||
updated.ActiveDate = req.ActiveDate;
|
||||
}
|
||||
// updated.Reason = req.Reason;
|
||||
updated.Remark = req.Remark;
|
||||
updated.ReasonResign = req.Reason;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue