Commit dd4e0d0d9c75b5216b08644bfe1333a79f794b58
1 parent
55b15f8b
BUGFIX:向下级目录关联通道时,出现“未查询到目录xxx的信息"
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/genersoft/iot/vmp/service/impl/PlatformChannelServiceImpl.java
| @@ -134,7 +134,7 @@ public class PlatformChannelServiceImpl implements IPlatformChannelService { | @@ -134,7 +134,7 @@ public class PlatformChannelServiceImpl implements IPlatformChannelService { | ||
| 134 | deviceChannelList.add(deviceChannel); | 134 | deviceChannelList.add(deviceChannel); |
| 135 | } | 135 | } |
| 136 | return deviceChannelList; | 136 | return deviceChannelList; |
| 137 | - } else if (catalog == null || !catalogId.equals(platform.getDeviceGBId())) { | 137 | + } else if (catalog == null && !catalogId.equals(platform.getDeviceGBId())) { |
| 138 | logger.warn("未查询到目录{}的信息", catalogId); | 138 | logger.warn("未查询到目录{}的信息", catalogId); |
| 139 | return null; | 139 | return null; |
| 140 | } | 140 | } |