增加启动时清理redis中错误zlm数据

This commit is contained in:
648540858
2022-10-19 16:25:38 +08:00
parent 6dbc7a68bd
commit 95d367702a
2 changed files with 10 additions and 1 deletions

View File

@@ -298,6 +298,7 @@ public class XmlUtil {
}else {
deviceChannel.setParentId(parentId);
}
// 兼容设备通道信息中自己为自己父节点的情况
if (deviceChannel.getParentId().equals(deviceChannel.getChannelId())) {
deviceChannel.setParentId(null);
}