From 6a007b9e37ef2ca84a15808bc18817424e56124d Mon Sep 17 00:00:00 2001 From: he <10978375@qq.com> Date: Fri, 9 Dec 2022 11:57:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Domain/SQLFile/Sql脚本.sql | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/IRaCIS.Core.Domain/SQLFile/Sql脚本.sql b/IRaCIS.Core.Domain/SQLFile/Sql脚本.sql index b4b36beba..318355d8e 100644 --- a/IRaCIS.Core.Domain/SQLFile/Sql脚本.sql +++ b/IRaCIS.Core.Domain/SQLFile/Sql脚本.sql @@ -110,4 +110,13 @@ update ReadingTableQuestionTrial set DictionaryCode='' where DictionaryCode is select * from ReadingTableAnswerRowInfo update ReadingTableAnswerRowInfo set ReadingTableAnswerRowInfo.OrderMark=ReadingQuestionTrial.OrderMark from ReadingQuestionTrial -inner join ReadingTableAnswerRowInfo on ReadingTableAnswerRowInfo.QuestionId=ReadingQuestionTrial.Id \ No newline at end of file +inner join ReadingTableAnswerRowInfo on ReadingTableAnswerRowInfo.QuestionId=ReadingQuestionTrial.Id + + + +delete ReadingTableQuestionAnswer where TableQuestionId in (select id from ReadingTableQuestionTrial where QuestionMark=3) +go +delete ReadingTableQuestionTrial where QuestionMark=3 +go +delete ReadingTableQuestionSystem where QuestionMark=3 +go \ No newline at end of file