Commit 66ad6036 authored by 赵啸非's avatar 赵啸非

添加批量激活设备

parent c876eab6
...@@ -171,8 +171,7 @@ public class AppPublishServiceImpl extends AbstractCRUDServiceImpl<AppPublishDao ...@@ -171,8 +171,7 @@ public class AppPublishServiceImpl extends AbstractCRUDServiceImpl<AppPublishDao
List<String> commandList = Arrays.asList("bash", "-c", commandStr); List<String> commandList = Arrays.asList("bash", "-c", commandStr);
SynchronousLocalShellCommand command = new SynchronousLocalShellCommand(commandList); SynchronousLocalShellCommand command = new SynchronousLocalShellCommand(commandList);
String commandRsp = command.doCommand(); String commandRsp = command.doCommand();
System.out.println("同步执行结果:" + commandRsp); log.info("同步执行结果:" + commandRsp);
System.out.println("结束---------------");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment