Compare commits

..

No commits in common. "b51fdc5769994907aef23ca4972f80c0ff02af86" and "c1d618326b2a385c31e24ada3f306a4039ee7b0d" have entirely different histories.

1 changed files with 3 additions and 5 deletions

View File

@ -59,13 +59,11 @@ namespace IRaCIS.Core.Application.Service.ImageAndDoc
SubejctId = u.SubjectId,
SiteId=u.Subject.SiteId,
CriterionModalitys= u.TrialReadingCriterion.CriterionModalitys,
SubjectCode = u.IsSelfAnalysis == true ? u.BlindSubjectCode : u.Subject.Code ,
SubjectCode = u.IsSelfAnalysis == true ? u.Subject.Code : u.BlindSubjectCode,
TaskBlindName = u.TaskBlindName,
TaskName = u.TaskName,
@ -316,9 +314,9 @@ namespace IRaCIS.Core.Application.Service.ImageAndDoc
else
{
var studyId = IdentifierHelper.CreateGuid(incommand.Study.StudyInstanceUid, incommand.TrialId.ToString(), findOriginStudy.VisitTaskId.ToString());
var studyId = IdentifierHelper.CreateGuid(incommand.Study.StudyInstanceUid, incommand.TrialId.ToString()); ;
var study = await _repository.FirstOrDefaultAsync<TaskStudy>(t => t.Id == studyId);
var study = await _repository.Where<TaskStudy>().FirstOrDefaultAsync(t => t.Id == studyId);
//重传的时候也要赋值检查Id
studyMonitor.StudyId = study.Id;