修改废除状态
parent
c371c4b127
commit
1a5cfa8bbd
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue