From 4b883d617debd5a268646b89b5417c7affde34e7 Mon Sep 17 00:00:00 2001 From: xiachao Date: Thu, 8 Aug 2024 13:42:28 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E5=AE=9E=E4=BD=93=E5=9B=BE=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../thing/entity/service/impl/IotThingEntityServiceImpl.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/thing/src/main/java/com/thing/thing/entity/service/impl/IotThingEntityServiceImpl.java b/modules/thing/src/main/java/com/thing/thing/entity/service/impl/IotThingEntityServiceImpl.java index 7339c67..4fdc752 100644 --- a/modules/thing/src/main/java/com/thing/thing/entity/service/impl/IotThingEntityServiceImpl.java +++ b/modules/thing/src/main/java/com/thing/thing/entity/service/impl/IotThingEntityServiceImpl.java @@ -57,6 +57,7 @@ import lombok.extern.slf4j.Slf4j; import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.collections4.MapUtils; import org.apache.commons.lang3.ArrayUtils; +import org.apache.commons.lang3.ObjectUtils; import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.tuple.Pair; import org.springframework.stereotype.Service; @@ -965,6 +966,10 @@ public class IotThingEntityServiceImpl extends BaseServiceImpl deptIds = Stream.of(StringUtils.split(jsonNode.asText(), ",")).map(Long::parseLong).toList();