|
@@ -301,7 +301,6 @@ public class MqLogicServiceImpl implements MqLogicService {
|
|
|
Optional.ofNullable(examStudentCacheBean).orElseThrow(() -> new BusinessException("考生数据为空"));
|
|
|
|
|
|
//2022/03/28加入更新移动端第一、第二机位推流状态
|
|
|
- SystemConstant.mobileMonitorStatusStop(examStudentCacheBean.getStudentId(), recordId, true);
|
|
|
examRecordService.sendExamRecordDataSaveMq(recordId, System.currentTimeMillis());
|
|
|
|
|
|
Map<String, Object> properties = new HashMap<>();
|
|
@@ -310,6 +309,8 @@ public class MqLogicServiceImpl implements MqLogicService {
|
|
|
MqDto mqDtoExamStop = new MqDto(mqUtil.getMqGroupDomain().getTopic(), MqTagEnum.EXAM_STOP.name(), recordId,
|
|
|
MqTagEnum.EXAM_STOP, String.valueOf(recordId), properties, String.valueOf(recordId));
|
|
|
mqDtoService.assembleSendOneOrderMsg(mqDtoExamStop);
|
|
|
+
|
|
|
+ SystemConstant.mobileMonitorStatusStop(examStudentCacheBean.getStudentId(), recordId, true);
|
|
|
//发送移动端监考退出考试mq消息 end
|
|
|
}
|
|
|
TMRocketMessage tmRocketMessage = gson.fromJson(gson.toJson(mqDto), TMRocketMessage.class);
|
|
@@ -949,9 +950,6 @@ public class MqLogicServiceImpl implements MqLogicService {
|
|
|
SystemConstant.clientMonitorStatusStop(recordId);
|
|
|
examRecordService.sendExamRecordDataSaveMq(recordId, System.currentTimeMillis());
|
|
|
|
|
|
- //更新移动端第一机位推流状态为stop
|
|
|
- SystemConstant.mobileMonitorStatusStop(examStudentCacheBean.getStudentId(), recordId, true);
|
|
|
-
|
|
|
Map<String, Object> properties = new HashMap<>();
|
|
|
properties.put(SystemConstant.REMOVE_WEBSOCKET, true);
|
|
|
//发送移动端监考退出考试mq消息 start
|
|
@@ -960,6 +958,9 @@ public class MqLogicServiceImpl implements MqLogicService {
|
|
|
mqDtoService.assembleSendOneOrderMsg(mqDtoExamStop);
|
|
|
//发送移动端监考退出考试mq消息 end
|
|
|
|
|
|
+ //更新移动端第一机位推流状态为stop
|
|
|
+ SystemConstant.mobileMonitorStatusStop(examStudentCacheBean.getStudentId(), recordId, true);
|
|
|
+
|
|
|
Gson gson = new Gson();
|
|
|
mqDto.setAck(SystemConstant.STANDARD_ACK_TYPE);
|
|
|
TMRocketMessage tmRocketMessage = gson.fromJson(gson.toJson(mqDto), TMRocketMessage.class);
|