From f3de04db06bae67537d093017e28863ee685f8a3 Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期五, 03 一月 2025 13:36:38 +0800
Subject: [PATCH] 修改dynamicSettings为空异常

---
 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/schedule/impl/ScheduleModelHandlerImpl.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/schedule/impl/ScheduleModelHandlerImpl.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/schedule/impl/ScheduleModelHandlerImpl.java
index 2ef12c3..0511350 100644
--- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/schedule/impl/ScheduleModelHandlerImpl.java
+++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/schedule/impl/ScheduleModelHandlerImpl.java
@@ -137,7 +137,7 @@
             return null;
         }
         //如果输入参数中包含setting,则覆盖默认的setting
-        if (!dynamicSettings.isEmpty()){
+        if (!CollectionUtils.isEmpty(dynamicSettings)){
             list.forEach(setting -> {
                 if (dynamicSettings.containsKey(setting.getKey())) {
                     setting.setValue(dynamicSettings.get(setting.getKey()));

--
Gitblit v1.9.3