修改废除状态
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user