修改部位
continuous-integration/drone/push Build is running

This commit is contained in:
2025-01-07 10:49:40 +08:00
parent 83749e15cb
commit 561e1748d6
2 changed files with 17 additions and 7 deletions
@@ -254,6 +254,8 @@ namespace IRaCIS.Core.Application.Service.ImageAndDoc
}
}
findStudy = addStudy;
}
else
{
@@ -321,15 +323,19 @@ namespace IRaCIS.Core.Application.Service.ImageAndDoc
}
#region
//项目配置的影像部位
var trialBodyPartList = _trialRepository.Where(t => t.Id == trialId).SelectMany(t => t.TrialBodyPartList).ToList();
var trialBodyParts = _trialRepository.Where(t => t.Id == trialId).Select(t => t.BodyPartTypes).FirstOrDefault();
var trialBodyPartList = trialBodyParts.Split('|', StringSplitOptions.RemoveEmptyEntries);
if (trialBodyPartList.Count() == 1)
{
var first = trialBodyPartList.First();
findStudy.BodyPartForEdit = first.Code;
findStudy.BodyPartForEdit = first;
}
#endregion
var @lock2 = _distributedLockProvider.CreateLock($"StudyCommit");