fix preview Error
This commit is contained in:
parent
8a4d843fa2
commit
338163de35
1 changed files with 1 additions and 0 deletions
|
|
@ -2097,6 +2097,7 @@ namespace BMA.EHR.Insignia.Service.Controllers
|
|||
var _insigniaNoteProfiles = new List<dynamic>();
|
||||
foreach (var item in items)
|
||||
{
|
||||
if (item.CitizanId == null) continue;
|
||||
var _profile = _userProfileRepository.GetOfficerProfileByCitizenId(item.CitizanId, AccessToken);
|
||||
var profile = insigniaNote.InsigniaNoteProfiles.FirstOrDefault(x => x.ProfileId == _profile.Id);
|
||||
if (profile == null)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue