修改一版
parent
5fb96ef04a
commit
9523efac7b
|
@ -203,7 +203,7 @@ namespace IRaCIS.Application.Services
|
|||
|
||||
|
||||
List<GetAssessTypeOutDto> assessTypeList = await _readingCriterionDictionaryRepository.Where(x => x.CriterionId == taskInfo.TrialReadingCriterionId
|
||||
&& x.ParentCode == "GlobalAssessType"
|
||||
&& x.ParentCode == ReadingCommon.GlobalAssess
|
||||
)
|
||||
.Select(x => new GetAssessTypeOutDto()
|
||||
{
|
||||
|
|
|
@ -200,7 +200,7 @@ namespace IRaCIS.Application.Services
|
|||
{
|
||||
Answer = item.AfterQuestionList.Where(x => x.GlobalAnswerType == GlobalAnswerType.Reason).Select(x => x.Answer).FirstOrDefault(),
|
||||
QuestionType = JudgeReadingQuestionType.VisitRemark,
|
||||
|
||||
QuestionName = "全局阅片备注",
|
||||
});
|
||||
|
||||
judgeReadingInfo.VisitTaskInfoList.Add(judgeReadingQuestion);
|
||||
|
@ -234,7 +234,7 @@ namespace IRaCIS.Application.Services
|
|||
{
|
||||
Answer = twoItem.AfterQuestionList.Where(x => x.GlobalAnswerType == GlobalAnswerType.Reason).Select(x => x.Answer).FirstOrDefault(),
|
||||
QuestionType = JudgeReadingQuestionType.VisitRemark,
|
||||
|
||||
QuestionName = "全局阅片备注",
|
||||
});
|
||||
|
||||
judgeReadingInfo.VisitTaskInfoList.Add(rTwoJudge);
|
||||
|
|
|
@ -135,7 +135,7 @@ namespace IRaCIS.Application.Services
|
|||
result.OncologyVisits = oncologyVisits;
|
||||
|
||||
List<GetAssessTypeOutDto> assessTypeList = await _readingCriterionDictionaryRepository.Where(x => x.CriterionId == taskInfo.TrialReadingCriterionId
|
||||
&& x.ParentCode == "OncologyAssessType"
|
||||
&& x.ParentCode == ReadingCommon.OncologyAssess
|
||||
)
|
||||
.Select(x => new GetAssessTypeOutDto()
|
||||
{
|
||||
|
@ -262,9 +262,12 @@ namespace IRaCIS.Application.Services
|
|||
ReadingCategory = ReadingCategory.Oncology,
|
||||
});
|
||||
|
||||
var originalVisitId = await _visitTaskRepository.Where(x => x.SouceReadModuleId == globalreadModuleId && x.TaskState == TaskState.Effect && x.ReadingCategory == ReadingCategory.Global
|
||||
&& x.ReadingTaskState == ReadingTaskState.HaveSigned && !x.IsAnalysisCreate && x.TrialReadingCriterionId == readModuleInfo.TrialReadingCriterionId
|
||||
).Select(x => x.Id).FirstOrDefaultAsync();
|
||||
await _visitTaskHelpeService.AddTaskAsync(new GenerateTaskCommand()
|
||||
{
|
||||
|
||||
OriginalVisitId= originalVisitId,
|
||||
ReadingCategory = GenerateTaskCategory.Oncology,
|
||||
TrialId = readModuleInfo.TrialId,
|
||||
ReadingGenerataTaskList = needReadList
|
||||
|
|
Loading…
Reference in New Issue