src/main/java/com/xcong/excoin/modules/gateApi/GateCommandConsumer.java
@@ -82,11 +82,15 @@ } } catch (Exception e) { success = false; newState = "ERROR"; message = e.getMessage(); log.error("[Gate] 指令执行失败", e); } // 指令异常/未知类型时 newState 可能为空,统一回退为当前真实状态,避免污染 Station 侧实例状态 if (newState == null || newState.isEmpty()) { newState = strategy.getState().name(); } // 发送 ACK 到 Station CmdAckMsg ack = CmdAckMsg.builder() .commandId(cmd.getCommandId())