|
@@ -217,6 +217,7 @@ public class SubjectServiceImpl extends MppServiceImpl<SubjectDao, SubjectEntity
|
|
vo.setSubjectName(subject.getName());
|
|
vo.setSubjectName(subject.getName());
|
|
vo.setUnexistCount(studentService.getUnscannedCountByExamAndSubject(examId,subject.getCode()));
|
|
vo.setUnexistCount(studentService.getUnscannedCountByExamAndSubject(examId,subject.getCode()));
|
|
vo.setStudentCount(studentService.countByExamIdAndSubjectCode(examId,subject.getCode()));
|
|
vo.setStudentCount(studentService.countByExamIdAndSubjectCode(examId,subject.getCode()));
|
|
|
|
+ subjects.add(vo);
|
|
}else{
|
|
}else{
|
|
List<SubjectEntity> subjectList =this.listByExamId(examId);
|
|
List<SubjectEntity> subjectList =this.listByExamId(examId);
|
|
for (SubjectEntity subject:subjectList) {
|
|
for (SubjectEntity subject:subjectList) {
|
|
@@ -225,6 +226,7 @@ public class SubjectServiceImpl extends MppServiceImpl<SubjectDao, SubjectEntity
|
|
vo.setSubjectName(subject.getName());
|
|
vo.setSubjectName(subject.getName());
|
|
vo.setUnexistCount(studentService.getUnscannedCountByExamAndSubject(examId,subject.getCode()));
|
|
vo.setUnexistCount(studentService.getUnscannedCountByExamAndSubject(examId,subject.getCode()));
|
|
vo.setStudentCount(studentService.countByExamIdAndSubjectCode(examId,subject.getCode()));
|
|
vo.setStudentCount(studentService.countByExamIdAndSubjectCode(examId,subject.getCode()));
|
|
|
|
+ subjects.add(vo);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|