修改
This commit is contained in:
@@ -388,6 +388,12 @@ namespace IRaCIS.Core.Application.Contracts
|
||||
/// </summary>
|
||||
public bool IsEnable { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 是否公共分页
|
||||
/// </summary>
|
||||
public bool IsPublicPage { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
@@ -401,6 +407,9 @@ namespace IRaCIS.Core.Application.Contracts
|
||||
|
||||
public class TrialReadQuestion
|
||||
{
|
||||
|
||||
public Guid Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 排序
|
||||
/// </summary>
|
||||
|
||||
@@ -97,6 +97,17 @@ namespace IRaCIS.Core.Application
|
||||
}).ToListAsync();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取项目标准分页信息
|
||||
/// </summary>
|
||||
/// <param name="inDto"></param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
public async Task<List<ReadingCriterionPageDto>> GetReadingCriterionPageList(GetTrialReadingInfoInDto inDto)
|
||||
{
|
||||
return await _readingCriterionPageRepository.Where(x => x.TrialId == inDto.TrialId).ProjectTo<ReadingCriterionPageDto>(_mapper.ConfigurationProvider).ToListAsync();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取项目阅片标准信息
|
||||
/// </summary>
|
||||
@@ -117,8 +128,8 @@ namespace IRaCIS.Core.Application
|
||||
};
|
||||
|
||||
|
||||
result.TrialQuestionList = await _readingQuestionTrialRepository.Where(x => x.ReadingQuestionCriterionTrial.IsConfirm && x.TrialId == inDto.TrialId)
|
||||
.ProjectTo<TrialReadQuestion>(_mapper.ConfigurationProvider).ToListAsync();
|
||||
result.TrialQuestionList = await _readingQuestionTrialRepository.Where(x => x.ReadingQuestionCriterionTrial.IsConfirm && x.TrialId == inDto.TrialId&&x.ReadingQuestionCriterionTrialId == result.TrialCriterionId)
|
||||
.ProjectTo<TrialReadQuestion>(_mapper.ConfigurationProvider).OrderBy(x => x.ShowOrder).ToListAsync();
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user