diff --git a/IRaCIS.Core.Application/Service/Visit/SubjectService.cs b/IRaCIS.Core.Application/Service/Visit/SubjectService.cs index 9334ccdc0..075fb35ae 100644 --- a/IRaCIS.Core.Application/Service/Visit/SubjectService.cs +++ b/IRaCIS.Core.Application/Service/Visit/SubjectService.cs @@ -67,6 +67,7 @@ namespace IRaCIS.Core.Application.Service [TrialGlobalLimit( "AfterStopCannNotOpt" )] public async Task UpdateSubjectStatus(SubjectStatusChangeCommand subjectStatusChangeCommand) { + subjectStatusChangeCommand.IsSubjectQuit = subjectStatusChangeCommand.Status == SubjectStatus.EndOfVisit; await _subjectRepository.UpdateFromDTOAsync(subjectStatusChangeCommand, true); return ResponseOutput.Ok(); } diff --git a/IRaCIS.Core.Domain.Share/Trial/SubjectStatus.cs b/IRaCIS.Core.Domain.Share/Trial/SubjectStatus.cs index e0b55323f..90ab27c3e 100644 --- a/IRaCIS.Core.Domain.Share/Trial/SubjectStatus.cs +++ b/IRaCIS.Core.Domain.Share/Trial/SubjectStatus.cs @@ -4,8 +4,10 @@ { OnVisit = 1, + //访视结束 OutOfVisit = 2, + //访视中止 EndOfVisit = 3, } } \ No newline at end of file