This commit is contained in:
gaofei
2022-06-14 18:22:16 +08:00
4 changed files with 14 additions and 6 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
@@ -0,0 +1,3 @@
--ADD BY Yanghongwei 2022-06-14
1、修复考试成绩与试卷分值不符情况
--END