From b65ae6a58a10b83303edab6f045c863ae3687a22 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Thu, 21 Jul 2022 16:04:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/Allocation/DTO/TaskMedicalReviewViewModel.cs | 2 +- .../Service/Allocation/DTO/VisitTaskViewModel.cs | 1 - .../Service/Allocation/TaskMedicalReviewService.cs | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/IRaCIS.Core.Application/Service/Allocation/DTO/TaskMedicalReviewViewModel.cs b/IRaCIS.Core.Application/Service/Allocation/DTO/TaskMedicalReviewViewModel.cs index 59eb8a783..fe7e3c185 100644 --- a/IRaCIS.Core.Application/Service/Allocation/DTO/TaskMedicalReviewViewModel.cs +++ b/IRaCIS.Core.Application/Service/Allocation/DTO/TaskMedicalReviewViewModel.cs @@ -17,7 +17,7 @@ namespace IRaCIS.Core.Application.ViewModel public int AuditState { get; set; } public DateTime? AuditSignTime { get; set; } - public int DoctorUserIdeaEnum { get; set; } + public MedicalReviewDoctorUserIdea DoctorUserIdeaEnum { get; set; } public Guid? MedicalManagerUserId { get; set; } /// diff --git a/IRaCIS.Core.Application/Service/Allocation/DTO/VisitTaskViewModel.cs b/IRaCIS.Core.Application/Service/Allocation/DTO/VisitTaskViewModel.cs index e8562c12a..9fb0ec9de 100644 --- a/IRaCIS.Core.Application/Service/Allocation/DTO/VisitTaskViewModel.cs +++ b/IRaCIS.Core.Application/Service/Allocation/DTO/VisitTaskViewModel.cs @@ -49,7 +49,6 @@ namespace IRaCIS.Core.Application.ViewModel public String TrialSiteCode { get; set; } = String.Empty; public string SubjectCode { get; set; } = String.Empty; - public bool } diff --git a/IRaCIS.Core.Application/Service/Allocation/TaskMedicalReviewService.cs b/IRaCIS.Core.Application/Service/Allocation/TaskMedicalReviewService.cs index 1467e5781..992efce5c 100644 --- a/IRaCIS.Core.Application/Service/Allocation/TaskMedicalReviewService.cs +++ b/IRaCIS.Core.Application/Service/Allocation/TaskMedicalReviewService.cs @@ -107,7 +107,7 @@ namespace IRaCIS.Core.Application.Service foreach (var taskId in command.TaskIdList) { - await _taskMedicalReviewRepository.AddAsync(new TaskMedicalReview() { TrialId = command.TrialId, VisitTaskId = taskId, MedicalManagerUserId = command.MedicalManagerUserId }); + await _taskMedicalReviewRepository.AddAsync(new TaskMedicalReview() { TrialId = command.TrialId, VisitTaskId = taskId, MedicalManagerUserId = command.MedicalManagerUserId ,AllocateTime=DateTime.Now}); } await _taskMedicalReviewRepository.SaveChangesAsync();