fix bug api แสดงรายการเงินเดือนจากระบบสรรหา

This commit is contained in:
Suphonchai Phoonsawat 2023-08-07 16:17:18 +07:00
parent 72c53c2e42
commit 4098b602ee

View file

@ -935,7 +935,9 @@ namespace BMA.EHR.Command.Service.Controllers
{
try
{
var data = await _repository.GetPlacementSalaryAsync(personalId);
var record = await _repository.GetCommandReceiverAsync(personalId);
var data = await _repository.GetPlacementSalaryAsync(record!.RefPlacementProfileId!.Value);
return Success(data);
}