修改一版
This commit is contained in:
@@ -146,6 +146,9 @@ namespace IRaCIS.Core.Application.Services
|
||||
ReadingPeriodSetId = readingPeriodSet.Id,
|
||||
});
|
||||
|
||||
|
||||
//var trialid = await _subjectVisitRepository.Where(x => x.Id == svCommand.Id).Select(x => x.TrialId).FirstOrDefaultAsync();
|
||||
|
||||
// 当前访视没有阅片期才添加
|
||||
if (!await _readModuleRepository.AnyAsync(x => x.SubjectVisitId == svCommand.Id && x.ReadingSetType == ReadingSetType.ImageReading))
|
||||
{
|
||||
@@ -159,6 +162,7 @@ namespace IRaCIS.Core.Application.Services
|
||||
ModuleName = "Global",// 全局阅片
|
||||
ReadingSetType = ReadingSetType.ImageReading,
|
||||
ModuleType = ModuleTypeEnum.Global,
|
||||
TrialId= dbBeforeEntity.TrialId,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user