Uat_Study
parent
26976fa289
commit
2733396e4c
|
@ -326,6 +326,7 @@ namespace IRaCIS.Application.Services
|
||||||
if (visitTask.IsAnalysisCreate)
|
if (visitTask.IsAnalysisCreate)
|
||||||
{
|
{
|
||||||
visitTaskids = await _visitTaskRepository.Where(x => x.ArmEnum == visitTask.ArmEnum && x.TaskState == TaskState.Effect && x.SourceSubjectVisitId == visitTask.SourceSubjectVisitId
|
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();
|
&& 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
|
visitTaskids = await _visitTaskRepository.Where(x => x.ReadingTaskState == ReadingTaskState.HaveSigned && x.ReadingCategory != ReadingCategory.Judge
|
||||||
&& x.TaskState == TaskState.Effect
|
&& x.TaskState == TaskState.Effect
|
||||||
|
&& x.TrialReadingCriterionId == visitTask.TrialReadingCriterionId
|
||||||
&& x.IsAnalysisCreate == false
|
&& x.IsAnalysisCreate == false
|
||||||
&& x.SourceSubjectVisitId == visitTask.SourceSubjectVisitId && x.SouceReadModuleId == visitTask.SouceReadModuleId).Select(x => x.Id).ToListAsync();
|
&& 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 bool IsReadingTaskViewInOrder { get; set; } = true;
|
||||||
|
|
||||||
|
public List<Guid> GlobalAssessTypeIds { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 全局阅片
|
||||||
|
/// </summary>
|
||||||
|
public bool IsGlobalReading { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 阅片工具
|
/// 阅片工具
|
||||||
|
@ -780,10 +787,10 @@ namespace IRaCIS.Core.Application.Contracts
|
||||||
public List<Guid> GlobalAssessTypeIds { get; set; }
|
public List<Guid> GlobalAssessTypeIds { get; set; }
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
///// <summary>
|
||||||
/// 全局阅片
|
///// 全局阅片
|
||||||
/// </summary>
|
///// </summary>
|
||||||
public bool IsGlobalReading { get; set; }
|
//public bool IsGlobalReading { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class GetOncologySetInDto
|
public class GetOncologySetInDto
|
||||||
|
|
|
@ -157,11 +157,11 @@ namespace IRaCIS.Core.Application
|
||||||
public async Task<IResponseOutput> SetGlobalReadingInfo(SetGlobalReadingInfoInDto inDto)
|
public async Task<IResponseOutput> SetGlobalReadingInfo(SetGlobalReadingInfoInDto inDto)
|
||||||
{
|
{
|
||||||
|
|
||||||
await _readingQuestionCriterionTrialRepository.UpdatePartialFromQueryAsync(inDto.TrialReadingCriterionId, x => new ReadingQuestionCriterionTrial()
|
//await _readingQuestionCriterionTrialRepository.UpdatePartialFromQueryAsync(inDto.TrialReadingCriterionId, x => new ReadingQuestionCriterionTrial()
|
||||||
{
|
//{
|
||||||
IsGlobalReading = inDto.IsGlobalReading
|
// IsGlobalReading = inDto.IsGlobalReading
|
||||||
|
|
||||||
});
|
//});
|
||||||
await _readingCriterionDictionaryRepository.BatchDeleteNoTrackingAsync(x => x.CriterionId == inDto.TrialReadingCriterionId && x.ParentCode == ReadingCommon.GlobalAssess);
|
await _readingCriterionDictionaryRepository.BatchDeleteNoTrackingAsync(x => x.CriterionId == inDto.TrialReadingCriterionId && x.ParentCode == ReadingCommon.GlobalAssess);
|
||||||
await _readingCriterionDictionaryRepository.AddRangeAsync(inDto.GlobalAssessTypeIds.Select(x => new ReadingCriterionDictionary
|
await _readingCriterionDictionaryRepository.AddRangeAsync(inDto.GlobalAssessTypeIds.Select(x => new ReadingCriterionDictionary
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue