|
@@ -266,6 +266,9 @@ public class ExamRoomStudentRelationServiceImpl extends BaseServiceImpl<Long, Ex
|
|
if(CollectionUtils.isEmpty(examRooms)){
|
|
if(CollectionUtils.isEmpty(examRooms)){
|
|
throw new BizException("请先建立考场");
|
|
throw new BizException("请先建立考场");
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
Set<Long> roomIds = examRooms.stream().map(ExamRoom::getId).collect(Collectors.toSet());
|
|
Set<Long> roomIds = examRooms.stream().map(ExamRoom::getId).collect(Collectors.toSet());
|
|
//未排考学员可排考考场学员
|
|
//未排考学员可排考考场学员
|
|
List<ExamRoomStudentRelation> examRoomStudents = examRoomStudentRelationDao.getWithExamRooms(new ArrayList<>(roomIds));
|
|
List<ExamRoomStudentRelation> examRoomStudents = examRoomStudentRelationDao.getWithExamRooms(new ArrayList<>(roomIds));
|