修改一版
This commit is contained in:
@@ -170,6 +170,8 @@ namespace IRaCIS.Core.Application.ViewModel
|
||||
|
||||
public Guid SubjectId { get; set; }
|
||||
|
||||
public decimal VisitNum { get; set; }
|
||||
|
||||
public bool IsUrgent { get; set; }
|
||||
|
||||
public string ReadingName { get; set; }
|
||||
|
||||
@@ -13,6 +13,7 @@ using IRaCIS.Core.Domain.Share;
|
||||
using IRaCIS.Core.Infrastructure;
|
||||
using AutoMapper;
|
||||
using MassTransit;
|
||||
using IRaCIS.Core.Infra.EFCore.Common;
|
||||
|
||||
namespace IRaCIS.Core.Application.Service
|
||||
{
|
||||
@@ -366,6 +367,7 @@ namespace IRaCIS.Core.Application.Service
|
||||
ReadingTaskState = ReadingTaskState.WaitReading,
|
||||
TaskName = firstTask.TaskName,
|
||||
ReadingCategory = ReadingCategory.Judge,
|
||||
VisitTaskNum= firstTask.VisitTaskNum+ ReadingCommon.TaskNumDic[ReadingCategory.Judge],
|
||||
TrialId = firstTask.TrialId,
|
||||
Code = currentMaxCodeInt + 1,
|
||||
SourceSubjectVisitId = firstTask.SourceSubjectVisitId,
|
||||
@@ -409,6 +411,7 @@ namespace IRaCIS.Core.Application.Service
|
||||
TrialId = trialId,
|
||||
SubjectId = item.SubjectId,
|
||||
IsUrgent = item.IsUrgent,
|
||||
VisitTaskNum = item.VisitNum + ReadingCommon.TaskNumDic[ReadingCategory.Global],
|
||||
TaskName = item.ReadingName,
|
||||
ArmEnum = Arm.DoubleReadingArm1,//特殊
|
||||
Code = currentMaxCodeInt + 1,
|
||||
@@ -422,6 +425,7 @@ namespace IRaCIS.Core.Application.Service
|
||||
TrialId = trialId,
|
||||
SubjectId = item.SubjectId,
|
||||
IsUrgent = item.IsUrgent,
|
||||
VisitTaskNum = item.VisitNum + ReadingCommon.TaskNumDic[ReadingCategory.Global],
|
||||
TaskName = item.ReadingName,
|
||||
ArmEnum = Arm.DoubleReadingArm2,//特殊
|
||||
Code = currentMaxCodeInt + 2,
|
||||
@@ -444,6 +448,7 @@ namespace IRaCIS.Core.Application.Service
|
||||
SubjectId = item.SubjectId,
|
||||
IsUrgent = item.IsUrgent,
|
||||
TaskName = item.ReadingName,
|
||||
VisitTaskNum = item.VisitNum + ReadingCommon.TaskNumDic[ReadingCategory.Global],
|
||||
ArmEnum = Arm.SingleReadingArm, //特殊
|
||||
Code = currentMaxCodeInt + 1,
|
||||
SouceReadModuleId = item.ReadModuleId,
|
||||
@@ -469,6 +474,7 @@ namespace IRaCIS.Core.Application.Service
|
||||
SubjectId = item.SubjectId,
|
||||
IsUrgent = item.IsUrgent,
|
||||
TaskName = item.ReadingName,
|
||||
VisitTaskNum = item.VisitNum + ReadingCommon.TaskNumDic[ReadingCategory.Oncology],
|
||||
ArmEnum = Arm.TumorArm, //特殊
|
||||
Code = currentMaxCodeInt + 1,
|
||||
SouceReadModuleId = item.ReadModuleId,
|
||||
|
||||
Reference in New Issue
Block a user