浏览代码

fix bug-成绩查询

wangliang 4 年之前
父节点
当前提交
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.examCount,
 			t.examName,
 			t.examName,
 			if(t.breachCount is null,0,t.breachCount) as breachCount,
 			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
 			from
 			(
 			(
 			select
 			select