소스 검색

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.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