From 9e197232c3723a8394874881c868c61c61eb51d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E7=8E=89=E4=B8=9C?= <129883742+liyudong2018@users.noreply.github.com> Date: Sun, 14 Sep 2025 16:43:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E6=AC=A1=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/workspace.xml | 14 +++++++++++--- .../service/impl/ScenarioTaskServiceImpl.java | 7 ++----- 2 files changed, 13 insertions(+), 8 deletions(-) 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