修改阅片标准列表
parent
369d3238d2
commit
664870c725
|
@ -225,6 +225,7 @@
|
|||
阅片人维度 Subject统计表
|
||||
</summary>
|
||||
<param name="trialId"></param>
|
||||
<param name="trialReadingCriterionId"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:IRaCIS.Core.Application.Service.Allocation.VisitTaskService.GetSubjectAssignedDoctorList(System.Guid)">
|
||||
|
|
|
@ -64,7 +64,14 @@ namespace IRaCIS.Core.Application.Service.Allocation
|
|||
|
||||
public async Task<List<TrialReadingCriterionDto>> GetTrialCriterionList(Guid trialId)
|
||||
{
|
||||
return await _repository.Where<ReadingQuestionCriterionTrial>(t => t.TrialId == trialId && t.IsConfirm).Select(t => new TrialReadingCriterionDto() { TrialReadingCriterionId = t.Id, TrialReadingCriterionName = t.CriterionName }).ToListAsync();
|
||||
var list= await _repository.Where<ReadingQuestionCriterionTrial>(t => t.TrialId == trialId && t.IsConfirm).Select(t => new TrialReadingCriterionDto() { TrialReadingCriterionId = t.Id, TrialReadingCriterionName = t.CriterionName }).ToListAsync();
|
||||
|
||||
if (list.Count == 0)
|
||||
{
|
||||
throw new BusinessValidationFailedException("该项目还未确认任何一个阅片标准");
|
||||
|
||||
}
|
||||
return list;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -276,6 +276,8 @@ namespace IRaCIS.Application.Contracts
|
|||
{
|
||||
public Guid TrialReadingCriterionId { get; set; }
|
||||
public string TrialReadingCriterionName { get; set; }
|
||||
|
||||
public ReadingMethod ReadingType { get; set; }
|
||||
}
|
||||
|
||||
public class TrialCriterionReadingCategory
|
||||
|
|
Loading…
Reference in New Issue