Uat_Study
he 2022-11-17 17:38:55 +08:00
parent 1fb939ff67
commit 90a154c30c
1 changed files with 2 additions and 0 deletions

View File

@ -1226,6 +1226,8 @@ namespace IRaCIS.Application.Services
task.DigitPlaces = criterionInfo.DigitPlaces;
task.CriterionType = criterionInfo.CriterionType;
var blindSubjectCode = await _visitTaskRepository.Where(x => x.Id == task.VisitTaskId).Select(x=>x.BlindSubjectCode).FirstNotNullAsync();
task.SubjectCode = blindSubjectCode.IsNullOrEmpty() ? task.SubjectCode : blindSubjectCode;
return task;
}