影像上传 访视状态变更
parent
d567b9d252
commit
6880b48f73
|
@ -2046,6 +2046,23 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
|||
extraIdentification = "/ModifyCheckChallengeState";
|
||||
}
|
||||
|
||||
if (entity.SubmitState == SubmitStateEnum.ToSubmit)
|
||||
{
|
||||
if (_dbContext.SubjectVisit.Where(t => t.Id == entity.Id).Any(t => t.SubmitState == SubmitStateEnum.None))
|
||||
{
|
||||
isDistinctionInterface = false;
|
||||
extraIdentification = "/FirstUploadToSubmit";
|
||||
}
|
||||
}
|
||||
else if (entity.SubmitState == SubmitStateEnum.None)
|
||||
{
|
||||
if (_dbContext.SubjectVisit.Where(t => t.Id == entity.Id).Any(t => t.SubmitState == SubmitStateEnum.ToSubmit))
|
||||
{
|
||||
isDistinctionInterface = false;
|
||||
extraIdentification = "/NoImage";
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
|
@ -2340,7 +2357,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
|||
|
||||
ObjectRelationParentId = enrollId,
|
||||
|
||||
ObjectRelationParentId2=trialReadingCriterionId,
|
||||
ObjectRelationParentId2 = trialReadingCriterionId,
|
||||
|
||||
IsDistinctionInterface = false
|
||||
}, new
|
||||
|
|
Loading…
Reference in New Issue