|
@@ -78,6 +78,8 @@ public class QuestionClassService {
|
78
|
78
|
Long paperid = question.getPaperid();
|
79
|
79
|
Integer classid = question.getClassid();
|
80
|
80
|
Integer qctype = question.getQctype();
|
|
81
|
+ Integer checked = paperGroupMapper.getPaperClassChecked(paperid, classid);//获取班级作业是否结束批阅
|
|
82
|
+ if (checked == 1) return;//已结束批阅不处理
|
81
|
83
|
//已批阅未得满分的试题
|
82
|
84
|
List<TQuestionStudent> questions = questionStudentService.listQuestions(paperid, classid, qctype);
|
83
|
85
|
for (TQuestionStudent q : questions) {
|
|
@@ -85,10 +87,10 @@ public class QuestionClassService {
|
85
|
87
|
}
|
86
|
88
|
|
87
|
89
|
List<TQuestionClass> questionClasses;
|
88
|
|
- if (qctype == 1){
|
|
90
|
+ if (qctype == 1) {
|
89
|
91
|
questionClasses = questionClassMapper.getQuestionAnalyze(paperid, classid);
|
90
|
92
|
} else/* if(qctype == 2)*/ {
|
91
|
|
- questionClasses = questionClassMapper.getSQuestionAnalyze(paperid , classid);
|
|
93
|
+ questionClasses = questionClassMapper.getSQuestionAnalyze(paperid, classid);
|
92
|
94
|
}/* else {
|
93
|
95
|
questionClasses = questionClassMapper.getEQuestionAnalyze(paperid , classid);
|
94
|
96
|
}*/
|