This commit is contained in:
he
2022-12-08 16:15:44 +08:00
parent 422dadad36
commit 1b123b0a3d
4 changed files with 17 additions and 0 deletions
+9
View File
@@ -102,3 +102,12 @@ update DataInspection set ObjectRelationParentId2 = (select top 1 TrialReadingC
update DataInspection set ObjectRelationParentId3 = (select top 1 TrialReadingCriterionId from VisitTask where Id =DataInspection.GeneralId) where EntityName='VisitTask'
update ReadingTableQuestionTrial set DictionaryCode='' where DictionaryCode is null
--维护RowInfo的OrderMark
select * from ReadingTableAnswerRowInfo
update ReadingTableAnswerRowInfo set ReadingTableAnswerRowInfo.OrderMark=ReadingQuestionTrial.OrderMark from ReadingQuestionTrial
inner join ReadingTableAnswerRowInfo on ReadingTableAnswerRowInfo.QuestionId=ReadingQuestionTrial.Id