修改NCC故障信息发送到的ws

This commit is contained in:
joylink_zhangsai 2023-05-15 17:10:03 +08:00
parent 5d289fbc97
commit 3f4cccbeed

View File

@ -93,7 +93,7 @@ public class NccAlarmService {
repository.addAtsAlarm(atsAlarm);
SocketMessageVO<Collection<AtsAlarm>> messageVO =
SocketMessageFactory.buildAtsAlarmMessage(simulation.getId(), Collections.singletonList(atsAlarm));
stompMessageService.sendToUser(simulation.getCreatorId(), messageVO);
stompMessageService.sendToUser(simulation.getSimulationUserIds(), messageVO);
}
}
}