修改一版
parent
6f97e6051b
commit
efcd3f03a3
|
@ -258,7 +258,7 @@ namespace IRaCIS.Application.Services
|
||||||
|
|
||||||
pageList.CurrentPageData.ForEach(x =>
|
pageList.CurrentPageData.ForEach(x =>
|
||||||
{
|
{
|
||||||
x.SubjectVisitName = x.ReadingPeriodName == "Global" ? "末次访视" : x.SubjectVisitName;
|
x.SubjectVisitName = x.IsGlobal ? "末次访视" : x.SubjectVisitName;
|
||||||
});
|
});
|
||||||
return pageList;
|
return pageList;
|
||||||
}
|
}
|
||||||
|
|
|
@ -118,7 +118,7 @@ namespace IRaCIS.Core.Application.Services
|
||||||
if (dbBeforeEntity.IsFinalVisit == false && svCommand.IsFinalVisit == true)
|
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)
|
if (readingPeriodSet == null)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue