修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
d49350a8cd
commit
eae6be5fb4
|
@ -1106,6 +1106,9 @@ namespace IRaCIS.Application.Services
|
||||||
//是否是预览
|
//是否是预览
|
||||||
if (inDto.IsGetPreview == false)
|
if (inDto.IsGetPreview == false)
|
||||||
{
|
{
|
||||||
|
switch (criterionInfo.ReadingTool)
|
||||||
|
{
|
||||||
|
case ReadingTool.Dicom:
|
||||||
// 是否获取所有问题
|
// 是否获取所有问题
|
||||||
if (inDto.IsGetallQuestion)
|
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();
|
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();
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue