diff --git a/src/main/java/club/joylink/rtss/simulation/cbtc/ATS/service/alarm/NccAlarmService.java b/src/main/java/club/joylink/rtss/simulation/cbtc/ATS/service/alarm/NccAlarmService.java index 8aa29e19d..ced761ee9 100644 --- a/src/main/java/club/joylink/rtss/simulation/cbtc/ATS/service/alarm/NccAlarmService.java +++ b/src/main/java/club/joylink/rtss/simulation/cbtc/ATS/service/alarm/NccAlarmService.java @@ -93,7 +93,7 @@ public class NccAlarmService { repository.addAtsAlarm(atsAlarm); SocketMessageVO> messageVO = SocketMessageFactory.buildAtsAlarmMessage(simulation.getId(), Collections.singletonList(atsAlarm)); - stompMessageService.sendToUser(simulation.getCreatorId(), messageVO); + stompMessageService.sendToUser(simulation.getSimulationUserIds(), messageVO); } } }