Test.EIImageViewer
parent
34cd92cd6f
commit
8187f20111
|
@ -988,3 +988,9 @@ where ReadModule.Id = VisitTask.SouceReadModuleId
|
|||
and (SubjectVisit.PDState=1 or SubjectVisit.IsEnrollmentConfirm=1)
|
||||
|
||||
) != 0
|
||||
|
||||
|
||||
------------------------维护GroupId
|
||||
update ReadingQuestionTrial set GroupId= (select top 1 id from ReadingQuestionTrial a where a.Type='group' and a.GroupName=ReadingQuestionTrial.GroupName and a.ReadingQuestionCriterionTrialId=ReadingQuestionTrial.ReadingQuestionCriterionTrialId) where ReadingQuestionTrial.Type!='group'
|
||||
|
||||
update ReadingQuestionSystem set GroupId= (select top 1 id from ReadingQuestionSystem a where a.Type='group' and a.GroupName=ReadingQuestionSystem.GroupName and a.ReadingQuestionCriterionSystemId=ReadingQuestionSystem.ReadingQuestionCriterionSystemId) where ReadingQuestionSystem.Type!='group'
|
||||
|
|
Loading…
Reference in New Issue