Uat_Study
parent
26976fa289
commit
2733396e4c
|
@ -326,6 +326,7 @@ namespace IRaCIS.Application.Services
|
|||
if (visitTask.IsAnalysisCreate)
|
||||
{
|
||||
visitTaskids = await _visitTaskRepository.Where(x => x.ArmEnum == visitTask.ArmEnum && x.TaskState == TaskState.Effect && x.SourceSubjectVisitId == visitTask.SourceSubjectVisitId
|
||||
&&x.TrialReadingCriterionId== visitTask.TrialReadingCriterionId
|
||||
&& x.SouceReadModuleId == visitTask.SouceReadModuleId && x.ReadingCategory != ReadingCategory.Judge && x.ReadingTaskState == ReadingTaskState.HaveSigned).Select(x => x.Id).ToListAsync();
|
||||
|
||||
}
|
||||
|
@ -334,6 +335,7 @@ namespace IRaCIS.Application.Services
|
|||
// 这里是非一致性分析产生的
|
||||
visitTaskids = await _visitTaskRepository.Where(x => x.ReadingTaskState == ReadingTaskState.HaveSigned && x.ReadingCategory != ReadingCategory.Judge
|
||||
&& x.TaskState == TaskState.Effect
|
||||
&& x.TrialReadingCriterionId == visitTask.TrialReadingCriterionId
|
||||
&& x.IsAnalysisCreate == false
|
||||
&& x.SourceSubjectVisitId == visitTask.SourceSubjectVisitId && x.SouceReadModuleId == visitTask.SouceReadModuleId).Select(x => x.Id).ToListAsync();
|
||||
}
|
||||
|
|
|
@ -383,6 +383,13 @@ namespace IRaCIS.Core.Application.Contracts
|
|||
//读片任务显示是否顺序
|
||||
public bool IsReadingTaskViewInOrder { get; set; } = true;
|
||||
|
||||
public List<Guid> GlobalAssessTypeIds { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 全局阅片
|
||||
/// </summary>
|
||||
public bool IsGlobalReading { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 阅片工具
|
||||
|
@ -780,10 +787,10 @@ namespace IRaCIS.Core.Application.Contracts
|
|||
public List<Guid> GlobalAssessTypeIds { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 全局阅片
|
||||
/// </summary>
|
||||
public bool IsGlobalReading { get; set; }
|
||||
///// <summary>
|
||||
///// 全局阅片
|
||||
///// </summary>
|
||||
//public bool IsGlobalReading { get; set; }
|
||||
}
|
||||
|
||||
public class GetOncologySetInDto
|
||||
|
|
|
@ -157,11 +157,11 @@ namespace IRaCIS.Core.Application
|
|||
public async Task<IResponseOutput> SetGlobalReadingInfo(SetGlobalReadingInfoInDto inDto)
|
||||
{
|
||||
|
||||
await _readingQuestionCriterionTrialRepository.UpdatePartialFromQueryAsync(inDto.TrialReadingCriterionId, x => new ReadingQuestionCriterionTrial()
|
||||
{
|
||||
IsGlobalReading = inDto.IsGlobalReading
|
||||
//await _readingQuestionCriterionTrialRepository.UpdatePartialFromQueryAsync(inDto.TrialReadingCriterionId, x => new ReadingQuestionCriterionTrial()
|
||||
//{
|
||||
// IsGlobalReading = inDto.IsGlobalReading
|
||||
|
||||
});
|
||||
//});
|
||||
await _readingCriterionDictionaryRepository.BatchDeleteNoTrackingAsync(x => x.CriterionId == inDto.TrialReadingCriterionId && x.ParentCode == ReadingCommon.GlobalAssess);
|
||||
await _readingCriterionDictionaryRepository.AddRangeAsync(inDto.GlobalAssessTypeIds.Select(x => new ReadingCriterionDictionary
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue