fix ccode
This commit is contained in:
parent
496917c34c
commit
4cc57322c0
4 changed files with 47 additions and 8 deletions
|
|
@ -415,7 +415,7 @@ namespace BMA.EHR.Insignia.Service.Controllers
|
|||
if (selectPeriod != null && selectPeriod.InsigniaEmployees != null)
|
||||
{
|
||||
var emp =
|
||||
await _userProfileRepository.GetEmployeeProfileByPositionAsync(organization.Id, selectPeriod.InsigniaEmployees.Select(x => x.RefId), AccessToken);
|
||||
await _userProfileRepository.GetEmployeeProfileByPositionAsync(organization.Id, selectPeriod.InsigniaEmployees.Select(x => x.RefId!.ValueOrBlank()).ToArray(), AccessToken);
|
||||
if (emp != null)
|
||||
allEmployeeProfileByRoot.AddRange(emp);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue