fix missing Error
This commit is contained in:
parent
e51f4472c2
commit
619f54d8a9
1 changed files with 1 additions and 0 deletions
|
|
@ -2210,6 +2210,7 @@ namespace BMA.EHR.Insignia.Service.Controllers
|
||||||
var items = await ReadExcelImportInvoice(file);
|
var items = await ReadExcelImportInvoice(file);
|
||||||
foreach (var item in items)
|
foreach (var item in items)
|
||||||
{
|
{
|
||||||
|
if (item.CitizanId == null) continue;
|
||||||
var pf = _userProfileRepository.GetOfficerProfileByCitizenId(item.CitizanId, AccessToken);
|
var pf = _userProfileRepository.GetOfficerProfileByCitizenId(item.CitizanId, AccessToken);
|
||||||
var profile = insigniaNote.InsigniaNoteProfiles.FirstOrDefault(x => x.ProfileId == pf.Id);
|
var profile = insigniaNote.InsigniaNoteProfiles.FirstOrDefault(x => x.ProfileId == pf.Id);
|
||||||
if (profile == null)
|
if (profile == null)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue