Uat_Study
hang 2023-05-31 10:38:26 +08:00
parent d9bf39acb0
commit 1e8daafba4
1 changed files with 7 additions and 7 deletions

View File

@ -107,14 +107,12 @@ namespace IRaCIS.Core.Application.Service.Allocation
.Select(t => new TrialReadingCriterionDto() { TrialReadingCriterionId = t.Id, IsAutoCreate = t.IsAutoCreate, IsAdditionalAssessment = t.IsAdditionalAssessment, TrialReadingCriterionName = t.CriterionName, CriterionType = t.CriterionType, ReadingType = t.ReadingType, ReadingInfoSignTime = t.ReadingInfoSignTime })
.ToListAsync();
if (list.Count == 0)
{
//---该项目还未确认任何一个阅片标准
throw new BusinessValidationFailedException(_localizer["VisitTask_VisitTask_TaskAlreadyApplied"]);
}
//if (list.Count == 0)
//{
// //---该项目还未确认任何一个阅片标准
// throw new BusinessValidationFailedException(_localizer["VisitTask_VisitTask_TaskAlreadyApplied"]);
//}
return list.AsQueryable().WhereIf(isHaveSigned == true, t => t.ReadingInfoSignTime != null)
@ -122,6 +120,8 @@ namespace IRaCIS.Core.Application.Service.Allocation
}
/// <summary>
/// Subject 任务类型 统计 +分配情况
/// </summary>