|
@@ -907,7 +907,9 @@ public class ExamRoomServiceImpl extends BaseServiceImpl<Long, ExamRoom> impleme
|
|
imFeignService.destroyRoom(examRoom.getId(),examRoom.getMainTeacherUserId().toString());
|
|
imFeignService.destroyRoom(examRoom.getId(),examRoom.getMainTeacherUserId().toString());
|
|
studentExamResultService.calculateStudentExamAvgScore(examRoom.getId());
|
|
studentExamResultService.calculateStudentExamAvgScore(examRoom.getId());
|
|
}
|
|
}
|
|
- examRoomDao.batchUpdate(examRooms);
|
|
|
|
|
|
+ if(!CollectionUtils.isEmpty(examRooms)){
|
|
|
|
+ examRoomDao.batchUpdate(examRooms);
|
|
|
|
+ }
|
|
|
|
|
|
List<Long> registIds = examRoomStudentRelationDao.findNoFinishedExamRegistIdsWIthExamRooms();
|
|
List<Long> registIds = examRoomStudentRelationDao.findNoFinishedExamRegistIdsWIthExamRooms();
|
|
if(!CollectionUtils.isEmpty(registIds)){
|
|
if(!CollectionUtils.isEmpty(registIds)){
|