修改
continuous-integration/drone/push Build is passing Details

IRC_NewDev
he 2024-09-03 17:52:48 +08:00
parent d49350a8cd
commit eae6be5fb4
1 changed files with 37 additions and 24 deletions

View File

@ -1106,6 +1106,9 @@ namespace IRaCIS.Application.Services
//是否是预览
if (inDto.IsGetPreview == false)
{
switch (criterionInfo.ReadingTool)
{
case ReadingTool.Dicom:
// 是否获取所有问题
if (inDto.IsGetallQuestion)
{
@ -1138,6 +1141,16 @@ namespace IRaCIS.Application.Services
var usedGuropIds = qusetionList.Where(x => x.Type == ReadingQestionType.Table).Select(x => x.GroupId).ToList();
qusetionList = qusetionList.Where(x => usedGuropIds.Contains(x.Id) || usedGuropIds.Contains(x.GroupId)).ToList();
}
break;
case ReadingTool.NoDicom:
if (!criterionInfo.IseCRFShowInDicomReading)
{
qusetionList = qusetionList.Where(x => x.IsShowInDicom && x.Type == ReadingQestionType.Group).OrderBy(x => x.ShowOrder).ToList();
}
break;
}
}