|
@@ -26,10 +26,7 @@ import com.keao.edu.user.api.entity.ExamRoom;
|
|
|
import com.keao.edu.user.api.entity.ExamRoomStudentRelation;
|
|
|
import com.keao.edu.user.api.enums.ExamModeEnum;
|
|
|
import com.keao.edu.user.dao.*;
|
|
|
-import com.keao.edu.user.dto.ExamRoomDto;
|
|
|
-import com.keao.edu.user.dto.ExamRoomExamTimeDto;
|
|
|
-import com.keao.edu.user.dto.ExamRoomListDto;
|
|
|
-import com.keao.edu.user.dto.ExamRoomStatisticsDto;
|
|
|
+import com.keao.edu.user.dto.*;
|
|
|
import com.keao.edu.user.entity.*;
|
|
|
import com.keao.edu.user.page.ExamRoomListQueryInfo;
|
|
|
import com.keao.edu.user.page.ExamRoomQueryInfo;
|
|
@@ -821,8 +818,9 @@ public class ExamRoomServiceImpl extends BaseServiceImpl<Long, ExamRoom> impleme
|
|
|
publishMessageDto.setMemberChangedMessage(msg);
|
|
|
imFeignService.publishMessage(publishMessageDto);
|
|
|
if(StringUtils.isNotEmpty(studentIds)){
|
|
|
- List<ExamRoomStudentRelation> studentRelations = examRoomStudentRelationDao.findStudentsWithExamRoom(examRoomId);
|
|
|
- studentRelations.forEach(e->{
|
|
|
+ List<RoomStudentListDto> roomStudentListDtos = examRoomStudentRelationDao.queryStudentList(examRoomId);
|
|
|
+// List<ExamRoomStudentRelation> studentRelations = examRoomStudentRelationDao.findStudentsWithExamRoom(examRoomId);
|
|
|
+ roomStudentListDtos.forEach(e->{
|
|
|
Map<Integer, String> userPhoneMap = new HashMap<>(1);
|
|
|
userPhoneMap.put(e.getStudentId(),e.getStudentId().toString());
|
|
|
String notifyUrl = "3?examRegistrationId=" + e.getExamRegistrationId();
|