Merge branch 'develop-Bright' into dev
All checks were successful
Build & Deploy Retirement Service / build (push) Successful in 1m52s
All checks were successful
Build & Deploy Retirement Service / build (push) Successful in 1m52s
This commit is contained in:
commit
c4209400ff
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;
|
||||
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;
|
||||
|
|
|
|||
|
|
@ -1450,7 +1450,14 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
|||
return Error(GlobalMessages.RetirementResignEmployeeNotFound, 404);
|
||||
|
||||
updated.Location = req.Location;
|
||||
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;
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace BMA.EHR.Retirement.Service.Requests
|
|||
public class RetirementResignEmployeeRequest
|
||||
{
|
||||
public string? Location { get; set; }
|
||||
// public DateTime? SendDate { get; set; }
|
||||
public DateTime? SendDate { get; set; }
|
||||
public DateTime? ActiveDate { get; set; }
|
||||
public string? Reason { get; set; }
|
||||
public string? Remark { get; set; }
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace BMA.EHR.Retirement.Service.Requests
|
|||
public class RetirementResignRequest
|
||||
{
|
||||
public string? Location { get; set; }
|
||||
// public DateTime? SendDate { get; set; }
|
||||
public DateTime? SendDate { get; set; }
|
||||
public DateTime? ActiveDate { get; set; }
|
||||
public string? Reason { get; set; }
|
||||
public string? Remark { get; set; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue