fix amountOld

This commit is contained in:
Bright 2024-11-18 13:51:25 +07:00
parent d08b4ca723
commit 9e99e985cd
7 changed files with 16 additions and 13 deletions

View file

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