Uat_Study
he 2022-06-29 16:29:16 +08:00
parent 7d91009ece
commit 32068b7603
1 changed files with 1 additions and 1 deletions

View File

@ -381,7 +381,7 @@ namespace IRaCIS.Core.Application.Service
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.Id, DoctorUserId = subjectUser==null ? null : subjectUser.Id,
TaskAllocationState = TaskAllocationState.Allocated, TaskAllocationState = subjectUser == null? TaskAllocationState.NotAllocate: TaskAllocationState.Allocated,
AllocateTime = DateTime.Now, AllocateTime = DateTime.Now,
}; };
await _visitTaskRepository.AddAsync(visitTask); await _visitTaskRepository.AddAsync(visitTask);