|
@@ -175,8 +175,7 @@ public class ExamController extends BaseExamController {
|
|
|
Exam exam = examService.findById(examId);
|
|
|
long studentCount = examStudentService.countByExamId(exam.getId());
|
|
|
long subjectCount = examSubjectService.count(examId);
|
|
|
- long campusCount = examStudentService.countCampusByExam(examId);
|
|
|
- long markerCount = markerService.countByExam(exam.getId());
|
|
|
+ // long markerCount = markerService.countByExam(exam.getId());
|
|
|
long scanCount = examStudentService.countByExamIdAndUpload(examId, true);
|
|
|
long markedCount = examStudentService.countByExamIdAndSubjectiveScoreListIsNotNull(examId);
|
|
|
|
|
@@ -192,15 +191,10 @@ public class ExamController extends BaseExamController {
|
|
|
subject.setAttr("共导入 " + subjectCount + " 个科目");
|
|
|
subject.setUrl("/admin/exam/paper");
|
|
|
|
|
|
- ExamInfoVO campus = new ExamInfoVO();
|
|
|
- campus.setName("学习中心");
|
|
|
- campus.setAttr("共导入 " + campusCount + " 个学习中心");
|
|
|
- campus.setUrl("/admin/exam/student");
|
|
|
-
|
|
|
- ExamInfoVO marker = new ExamInfoVO();
|
|
|
- marker.setName("评卷员");
|
|
|
- marker.setAttr("已创建 " + markerCount + " 个评卷员");
|
|
|
- marker.setUrl("/admin/exam/marker");
|
|
|
+ // ExamInfoVO marker = new ExamInfoVO();
|
|
|
+ // marker.setName("评卷员");
|
|
|
+ // marker.setAttr("已创建 " + markerCount + " 个评卷员");
|
|
|
+ // marker.setUrl("/admin/exam/marker");
|
|
|
|
|
|
ExamInfoVO scan = new ExamInfoVO();
|
|
|
scan.setName("扫描进度");
|
|
@@ -214,8 +208,6 @@ public class ExamController extends BaseExamController {
|
|
|
|
|
|
voList.add(student);
|
|
|
voList.add(subject);
|
|
|
- voList.add(campus);
|
|
|
- voList.add(marker);
|
|
|
voList.add(scan);
|
|
|
voList.add(mark);
|
|
|
model.addAttribute("exam", exam);
|