This commit is contained in:
2022-09-26 18:41:24 +08:00
parent 8b9e98193a
commit 579af300d3
105 changed files with 102 additions and 28599 deletions
@@ -0,0 +1,7 @@
--修复试卷统计与成绩不符
UPDATE Training_TestRecord SET Training_TestRecord.TestScores =item.SCore
from (SELECT SUM(SubjectScore) AS SCore,TestRecordId FROM Training_TestRecordItem
GROUP BY TestRecordId) item
where Training_TestRecord.TestRecordId=item.TestRecordId AND Training_TestRecord.TestEndTime IS NOT NULL
AND item.SCore != Training_TestRecord.TestScores AND item.SCore IS NOT NULL
GO