fix bug
This commit is contained in:
parent
0fc724cf06
commit
1afc238993
1 changed files with 2 additions and 2 deletions
|
|
@ -2643,7 +2643,7 @@ namespace BMA.EHR.Command.Service.Controllers
|
|||
{
|
||||
foreach (var r in receivers)
|
||||
{
|
||||
var salary = await _repository.GetCommandReceiverSalary(r.PersonalId);
|
||||
var salary = await _repository.GetCommandReceiverSalary(r.RefRecordId);
|
||||
r.SalaryAmount = salary.SalaryAmount;
|
||||
r.PositionSalaryAmount = salary.PositionSalaryAmount;
|
||||
r.MonthSalaryAmount = salary.MonthSalaryAmount;
|
||||
|
|
@ -2715,7 +2715,7 @@ namespace BMA.EHR.Command.Service.Controllers
|
|||
{
|
||||
foreach (var r in receivers)
|
||||
{
|
||||
var salary = await _repository.GetCommandReceiverSalary(r.PersonalId);
|
||||
var salary = await _repository.GetCommandReceiverSalary(r.RefRecordId);
|
||||
r.SalaryAmount = salary.SalaryAmount;
|
||||
r.PositionSalaryAmount = salary.PositionSalaryAmount;
|
||||
r.MonthSalaryAmount = salary.MonthSalaryAmount;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue