This commit is contained in:
he
2022-12-07 14:06:02 +08:00
parent fee34656f0
commit 6458690f6d
2 changed files with 7 additions and 0 deletions
@@ -1389,6 +1389,7 @@ namespace IRaCIS.Application.Services
x.IsReadingShowSubjectInfo,
x.DigitPlaces,
x.CriterionType,
x.IseCRFShowInDicomReading,
x.IsReadingTaskViewInOrder,
}).FirstOrDefaultAsync();
@@ -1424,6 +1425,7 @@ namespace IRaCIS.Application.Services
task.DigitPlaces = criterionInfo.DigitPlaces;
task.CriterionType = criterionInfo.CriterionType;
task.IseCRFShowInDicomReading = criterionInfo.IseCRFShowInDicomReading;
var blindSubjectCode = await _visitTaskRepository.Where(x => x.Id == task.VisitTaskId).Select(x => x.BlindSubjectCode).FirstNotNullAsync();
task.SubjectCode = blindSubjectCode.IsNullOrEmpty() ? task.SubjectCode : blindSubjectCode;