修改一版

Uat_Study
he 2022-06-08 11:59:46 +08:00
parent 6f97e6051b
commit efcd3f03a3
2 changed files with 2 additions and 2 deletions

View File

@ -258,7 +258,7 @@ namespace IRaCIS.Application.Services
pageList.CurrentPageData.ForEach(x =>
{
x.SubjectVisitName = x.ReadingPeriodName == "Global" ? "末次访视" : x.SubjectVisitName;
x.SubjectVisitName = x.IsGlobal ? "末次访视" : x.SubjectVisitName;
});
return pageList;
}

View File

@ -118,7 +118,7 @@ namespace IRaCIS.Core.Application.Services
if (dbBeforeEntity.IsFinalVisit == false && svCommand.IsFinalVisit == true)
{
ReadingPeriodSet? readingPeriodSet = await _readingPeriodSetRepository.FirstOrDefaultNoTrackingAsync(x => x.TrialId == dbBeforeEntity.TrialId && x.ReadingPeriodName == "Global");
ReadingPeriodSet? readingPeriodSet = await _readingPeriodSetRepository.FirstOrDefaultNoTrackingAsync(x => x.TrialId == dbBeforeEntity.TrialId && x.IsGlobal);
if (readingPeriodSet == null)
{