diff --git a/Services/PeriodExamService.cs b/Services/PeriodExamService.cs index 74bd17f..c7e22d4 100644 --- a/Services/PeriodExamService.cs +++ b/Services/PeriodExamService.cs @@ -2151,7 +2151,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Services LastUpdatedAt = DateTime.Now, LastUpdateUserId = UserId ?? "", LastUpdateFullName = FullName ?? "", - IsOfficer = IsOfficer, + IsOfficer = org?.result?.profileId ?? null =null ? false :true, profileId = org?.result?.profileId ?? null, IsOld = org == null || org.result == null ? false : true, AmountOld = org?.result?.AmountOld ?? null, @@ -2346,7 +2346,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Services LastUpdatedAt = DateTime.Now, LastUpdateUserId = UserId ?? "", LastUpdateFullName = FullName ?? "", - IsOfficer = IsOfficer, + IsOfficer = org?.result?.profileId ?? null =null ? false :true, profileId = org?.result?.profileId ?? null, IsOld = org == null || org.result == null ? false : true, AmountOld = org?.result?.AmountOld ?? null,