From adb30caa4aee8f4ae6fe4592d11cf1824c39672a Mon Sep 17 00:00:00 2001 From: he <10978375@qq.com> Date: Wed, 31 Aug 2022 16:49:55 +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/Reading/ReadingMedicalReviewService.cs | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/IRaCIS.Core.Application/Service/Reading/ReadingMedicalReviewService.cs b/IRaCIS.Core.Application/Service/Reading/ReadingMedicalReviewService.cs index c9e701b47..597c4ae42 100644 --- a/IRaCIS.Core.Application/Service/Reading/ReadingMedicalReviewService.cs +++ b/IRaCIS.Core.Application/Service/Reading/ReadingMedicalReviewService.cs @@ -276,17 +276,14 @@ namespace IRaCIS.Core.Application.Service { SaveQuestionTime = DateTime.Now, - - }); - - - - await _taskMedicalReviewRepository.BatchUpdateNoTrackingAsync(x => x.Id == inDto.TaskMedicalReviewId && x.AuditState != MedicalReviewAuditState.HaveSigned, x => new TaskMedicalReview() - { AuditState = MedicalReviewAuditState.Auditing, + }); + + + var result = await _readingMedicineQuestionAnswerRepository.SaveChangesAsync(); return ResponseOutput.Result(result);