fix Bug Get Receiver Salary

This commit is contained in:
Suphonchai Phoonsawat 2023-09-02 21:11:42 +07:00
parent 1afc238993
commit 7edd71e404
2 changed files with 8 additions and 3 deletions

View file

@ -2421,7 +2421,12 @@ namespace BMA.EHR.Application.Repositories.Commands
.FirstOrDefaultAsync(x => x.Id == recordId);
if (cmdReceiver == null)
throw new Exception($"Invalid command receiver: {recordId}");
return new PlacementSalaryResponse
{
SalaryAmount = 0,
PositionSalaryAmount = 0,
MonthSalaryAmount = 0
};
return new PlacementSalaryResponse
{