This commit is contained in:
tiger_zhou 2023-05-20 11:26:51 +08:00
commit d048ae9c60

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);
}
}
}