wangliang 4 лет назад
Родитель
Сommit
8c5356dbb2
1 измененных файлов с 5 добавлено и 1 удалено
  1. 5 1
      themis-business/src/main/resources/mapper/TEExamStudentMapper.xml

+ 5 - 1
themis-business/src/main/resources/mapper/TEExamStudentMapper.xml

@@ -295,7 +295,11 @@
 			t.examCount,
 			t.examName,
 			if(t.breachCount is null,0,t.breachCount) as breachCount,
-			ifnull(t.objectiveScore,0) as objectiveScore
+			ifnull(t.objectiveScore,0) as objectiveScore,
+			ifnull(t.objectiveScore,0) as sumScore,
+			t.examId,
+			t.examActivityId,
+			0 as subjectiveScore
 			from
 			(
 			select