兼容设备通道信息中自己为自己父节点的情况
This commit is contained in:
parent
b25f3631ee
commit
6dbc7a68bd
@ -298,6 +298,9 @@ public class XmlUtil {
|
||||
}else {
|
||||
deviceChannel.setParentId(parentId);
|
||||
}
|
||||
if (deviceChannel.getParentId().equals(deviceChannel.getChannelId())) {
|
||||
deviceChannel.setParentId(null);
|
||||
}
|
||||
}
|
||||
deviceChannel.setBusinessGroupId(businessGroupID);
|
||||
if (channelType.equals(ChannelType.BusinessGroup) || channelType.equals(ChannelType.VirtualOrganization)) {
|
||||
|
Loading…
Reference in New Issue
Block a user