|
@@ -47,6 +47,9 @@ public class SubjectGroupModule implements Module {
|
|
|
int scoreCount = scoreList.size();
|
|
|
for (int i = 0; i < questionList.size(); i++) {
|
|
|
ExamQuestion question = questionList.get(i);
|
|
|
+ if (question.getTotalScore() == null || question.getTotalScore() == 0) {
|
|
|
+ continue;
|
|
|
+ }
|
|
|
ScoreItem item = scoreCount > i ? scoreList.get(i) : null;
|
|
|
QuestionGroup group = map.get(question.getMainNumber());
|
|
|
if (group == null) {
|
|
@@ -58,6 +61,9 @@ public class SubjectGroupModule implements Module {
|
|
|
}
|
|
|
for (Entry<Integer, QuestionGroup> entry : map.entrySet()) {
|
|
|
QuestionGroup group = entry.getValue();
|
|
|
+ if (group.getFullScore() == 0) {
|
|
|
+ continue;
|
|
|
+ }
|
|
|
findUnit(subjectCode + "\t" + objective + "\t" + entry.getKey()).process(group.getTotalScore(),
|
|
|
group.getFullScore(), totalScore);
|
|
|
}
|