Uat_Study
parent
196f523a97
commit
b83e3344e2
|
@ -717,12 +717,12 @@ namespace IRaCIS.Core.Application.Service
|
||||||
ReadingCategory = ReadingCategory.Judge,
|
ReadingCategory = ReadingCategory.Judge,
|
||||||
VisitTaskNum = firstTask.VisitTaskNum + ReadingCommon.TaskNumDic[ReadingCategory.Judge],
|
VisitTaskNum = firstTask.VisitTaskNum + ReadingCommon.TaskNumDic[ReadingCategory.Judge],
|
||||||
TrialId = firstTask.TrialId,
|
TrialId = firstTask.TrialId,
|
||||||
TaskBlindName = firstTask.TaskName,
|
|
||||||
Code = currentMaxCodeInt + 1,
|
Code = currentMaxCodeInt + 1,
|
||||||
SourceSubjectVisitId = firstTask.SourceSubjectVisitId,
|
SourceSubjectVisitId = firstTask.SourceSubjectVisitId,
|
||||||
SouceReadModuleId = firstTask.SouceReadModuleId,
|
SouceReadModuleId = firstTask.SouceReadModuleId,
|
||||||
TaskCode = AppSettings.GetCodeStr(currentMaxCodeInt + 1, nameof(VisitTask)),
|
TaskCode = AppSettings.GetCodeStr(currentMaxCodeInt + 1, nameof(VisitTask)),
|
||||||
TaskState = TaskState.Effect,
|
TaskState = TaskState.Effect,
|
||||||
|
|
||||||
DoctorUserId = subjectUser == null ? null : subjectUser.DoctorUserId,
|
DoctorUserId = subjectUser == null ? null : subjectUser.DoctorUserId,
|
||||||
TaskAllocationState = subjectUser == null ? TaskAllocationState.NotAllocate : TaskAllocationState.Allocated,
|
TaskAllocationState = subjectUser == null ? TaskAllocationState.NotAllocate : TaskAllocationState.Allocated,
|
||||||
AllocateTime = subjectUser == null ? null : DateTime.Now,
|
AllocateTime = subjectUser == null ? null : DateTime.Now,
|
||||||
|
@ -763,10 +763,12 @@ namespace IRaCIS.Core.Application.Service
|
||||||
IsUrgent = item.IsUrgent,
|
IsUrgent = item.IsUrgent,
|
||||||
VisitTaskNum = item.VisitNum + ReadingCommon.TaskNumDic[ReadingCategory.Global],
|
VisitTaskNum = item.VisitNum + ReadingCommon.TaskNumDic[ReadingCategory.Global],
|
||||||
TaskName = item.ReadingName,
|
TaskName = item.ReadingName,
|
||||||
DoctorUserId = originalTaskInfo.DoctorUserId,
|
|
||||||
ArmEnum = originalTaskInfo.ArmEnum,//特殊
|
ArmEnum = originalTaskInfo.ArmEnum,//特殊
|
||||||
|
|
||||||
|
DoctorUserId = originalTaskInfo.DoctorUserId,
|
||||||
AllocateTime = DateTime.Now,
|
AllocateTime = DateTime.Now,
|
||||||
TaskAllocationState = TaskAllocationState.Allocated,
|
TaskAllocationState = TaskAllocationState.Allocated,
|
||||||
|
|
||||||
Code = currentMaxCodeInt + 1,
|
Code = currentMaxCodeInt + 1,
|
||||||
TaskBlindName = item.ReadingName,
|
TaskBlindName = item.ReadingName,
|
||||||
SouceReadModuleId = item.ReadModuleId,
|
SouceReadModuleId = item.ReadModuleId,
|
||||||
|
@ -794,6 +796,8 @@ namespace IRaCIS.Core.Application.Service
|
||||||
TaskBlindName = item.ReadingName,
|
TaskBlindName = item.ReadingName,
|
||||||
TaskCode = AppSettings.GetCodeStr(currentMaxCodeInt + 1, nameof(VisitTask)),
|
TaskCode = AppSettings.GetCodeStr(currentMaxCodeInt + 1, nameof(VisitTask)),
|
||||||
ReadingCategory = item.ReadingCategory
|
ReadingCategory = item.ReadingCategory
|
||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
singleTask.AllocateTime = DateTime.Now;
|
singleTask.AllocateTime = DateTime.Now;
|
||||||
|
|
Loading…
Reference in New Issue