|
@@ -288,7 +288,9 @@ public class ExamRoomStudentRelationServiceImpl extends BaseServiceImpl<Long, Ex
|
|
|
for (Map.Entry<Integer, List<ExamRegistration>> subjectRegistEntry : subjectRegistMap.entrySet()) {
|
|
|
List<ExamRegistration> subjectRegists = subjectRegistEntry.getValue();
|
|
|
// List<ExamRoom> subjectRooms = subjectExamRoomMap.get(subjectRegistEntry.getKey().toString());
|
|
|
- List<ExamRoom> subjectRooms = examRooms.stream().filter(e-> Arrays.stream(e.getSubjectIdList().split(",")).collect(Collectors.toSet()).contains(subjectRegistEntry.getKey().toString()))
|
|
|
+ List<ExamRoom> subjectRooms = examRooms.stream()
|
|
|
+ .filter(e-> Arrays.stream(e.getSubjectIdList().split(",")).collect(Collectors.toSet()).contains(subjectRegistEntry.getKey().toString()))
|
|
|
+ .collect(Collectors.toList());
|
|
|
if(CollectionUtils.isEmpty(subjectRooms)){
|
|
|
continue;
|
|
|
}
|