diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 6a629bd..b98317e 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -5,7 +5,7 @@ - + diff --git a/src/main/java/com/hivekion/scenario/service/impl/ScenarioTaskServiceImpl.java b/src/main/java/com/hivekion/scenario/service/impl/ScenarioTaskServiceImpl.java index 0e087b9..5bdf35b 100644 --- a/src/main/java/com/hivekion/scenario/service/impl/ScenarioTaskServiceImpl.java +++ b/src/main/java/com/hivekion/scenario/service/impl/ScenarioTaskServiceImpl.java @@ -77,8 +77,7 @@ public class ScenarioTaskServiceImpl extends weatherTrigger(currentScenario, roomId); //任务触发 taskTrigger(currentScenario, roomId); - //物资变化 - supplierChangeUseUp(currentScenario, roomId); + }); }).start(); } @@ -140,7 +139,7 @@ public class ScenarioTaskServiceImpl extends responseCmdInfo.setData(weatherMsgArray); Global.sendCmdInfoQueue.add(responseCmdInfo); } catch (Exception ex) { - ex.printStackTrace(); + log.error(ex.getMessage()); } @@ -167,9 +166,7 @@ public class ScenarioTaskServiceImpl extends } } - private void supplierChangeUseUp(Scenario currentScenario, String roomId) { - } @Override