|
|
@@ -255,7 +255,7 @@ public class ElExamServiceImpl implements ElExamService {
|
|
|
int objScore = 0;
|
|
|
|
|
|
// 题库组卷
|
|
|
- if (1 == exam.getJoinType()) {
|
|
|
+ //if (1 == exam.getJoinType()) {
|
|
|
List<ElExamRepo> repoList = exam.getRepoList();
|
|
|
|
|
|
for (ElExamRepo item : repoList) {
|
|
|
@@ -278,7 +278,7 @@ public class ElExamServiceImpl implements ElExamService {
|
|
|
objScore += item.getJudgeCount() * item.getJudgeScore();
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
+ //}
|
|
|
|
|
|
exam.setTotalScore(objScore);
|
|
|
}
|