潘志宝
4 天以前 f3de04db06bae67537d093017e28863ee685f8a3
修改dynamicSettings为空异常
已修改1个文件
2 ■■■ 文件已修改
iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mdk/schedule/impl/ScheduleModelHandlerImpl.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
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()));