剧本司机变更不返回记录到剧本中
This commit is contained in:
parent
8e5a49628d
commit
3b9d822f80
@ -242,7 +242,9 @@ public class ScriptSimulationService implements IScriptSimulationService {
|
|||||||
}
|
}
|
||||||
script.addAction(action);
|
script.addAction(action);
|
||||||
SocketMessageVO<ScriptActionVO> message = SocketMessageFactory.buildScriptActionMessage(simulation.getId(), new ScriptActionVO(action));
|
SocketMessageVO<ScriptActionVO> message = SocketMessageFactory.buildScriptActionMessage(simulation.getId(), new ScriptActionVO(action));
|
||||||
stompMessageService.sendToUser(simulation.getSimulationUserIds(), message);
|
if(!(message.getBody().getOperationType() == Operation.Type.Driver_Gear_Change)){
|
||||||
|
stompMessageService.sendToUser(simulation.getSimulationUserIds(), message);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user