From 1a5cfa8bbd2f99e562b2fb57930d766b7b397a71 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Fri, 18 Aug 2023 09:23:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BA=9F=E9=99=A4=E7=8A=B6?= =?UTF-8?q?=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/SiteSurvey/TrialSiteSurveyService.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/IRaCIS.Core.Application/Service/SiteSurvey/TrialSiteSurveyService.cs b/IRaCIS.Core.Application/Service/SiteSurvey/TrialSiteSurveyService.cs index 6c6df23da..47be74d4b 100644 --- a/IRaCIS.Core.Application/Service/SiteSurvey/TrialSiteSurveyService.cs +++ b/IRaCIS.Core.Application/Service/SiteSurvey/TrialSiteSurveyService.cs @@ -268,7 +268,6 @@ namespace IRaCIS.Core.Application.Contracts currentEntity = currentLatest; - if (currentEntity.State != TrialSiteSurveyEnum.PMCreatedAndLock) { @@ -277,7 +276,6 @@ namespace IRaCIS.Core.Application.Contracts } - } @@ -302,6 +300,8 @@ namespace IRaCIS.Core.Application.Contracts return ResponseOutput.NotOk(_localizer["TrialSiteSurvey_NoRecordToUpdate"]); } + + //未锁定的状态 就改为废除 if (currentLatest.State != TrialSiteSurveyEnum.PMCreatedAndLock) { @@ -312,10 +312,10 @@ namespace IRaCIS.Core.Application.Contracts { } - var copy = currentLatest.Clone(); copy.State = TrialSiteSurveyEnum.ToSubmit; + copy.IsDeleted = false; copy.Email = userInfo.EmailOrPhone; copy.Id = Guid.Empty;